!function (e) {
    e.extend(e, {
        contains: function (e, i) {
            return e.compareDocumentPosition ? !!(16 & e.compareDocumentPosition(i)) : e !== i && e.contains(i)
        }
    })
}(Zepto), function (e, i) {
    e.extend(e, {
        toString: function (e) {
            return Object.prototype.toString.call(e)
        }, slice: function (e, i) {
            return Array.prototype.slice.call(e, i || 0)
        }, later: function (e, i, t, a, n) {
            return window["set" + (t ? "Interval" : "Timeout")](function () {
                e.apply(a, n)
            }, i || 0)
        }, parseTpl: function (e, i) {
            var t = "var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('" + e.replace(/\\/g, "\\\\").replace(/'/g, "\\'").replace(/<%=([\s\S]+?)%>/g, function (e, i) {
                    return "'," + i.replace(/\\'/g, "'") + ",'"
                }).replace(/<%([\s\S]+?)%>/g, function (e, i) {
                    return "');" + i.replace(/\\'/g, "'").replace(/[\r\n\t]/g, " ") + "__p.push('"
                }).replace(/\r/g, "\\r").replace(/\n/g, "\\n").replace(/\t/g, "\\t") + "');}return __p.join('');", a = new Function("obj", t);
            return i ? a(i) : a
        }, throttle: function (t, a, n) {
            function o() {
                function e() {
                    r = Date.now(), a.apply(l, d)
                }

                function o() {
                    s = i
                }

                var l = this, c = Date.now() - r, d = arguments;
                n && !s && e(), s && clearTimeout(s), n === i && c > t ? e() : s = setTimeout(n ? o : e, n === i ? t - c : t)
            }

            var s, r = 0;
            return "function" != typeof a && (n = a, a = t, t = 250), o._zid = a._zid = a._zid || e.proxy(a)._zid, o
        }, debounce: function (t, a, n) {
            return a === i ? e.throttle(250, t, !1) : e.throttle(t, a, n === i ? !1 : n !== !1)
        }
    }), e.each("String Boolean RegExp Number Date Object Null Undefined".split(" "), function (a, n) {
        var o;
        if (!("is" + n in e)) {
            switch (n) {
                case"Null":
                    o = function (e) {
                        return null === e
                    };
                    break;
                case"Undefined":
                    o = function (e) {
                        return e === i
                    };
                    break;
                default:
                    o = function (e) {
                        return new RegExp(n + "]", "i").test(t(e))
                    }
            }
            e["is" + n] = o
        }
    });
    var t = e.toString
}(Zepto), function (e, i) {
    var t = navigator.userAgent, a = navigator.appVersion, n = e.browser;
    e.extend(n, {
        qq: /qq/i.test(t),
        uc: /UC/i.test(t) || /UC/i.test(a)
    }), n.uc = n.uc || !n.qq && !n.chrome && !n.firefox && !/safari/i.test(t);
    try {
        n.version = n.uc ? a.match(/UC(?:Browser)?\/([\d.]+)/)[1] : n.qq ? t.match(/MQQBrowser\/([\d.]+)/)[1] : n.version
    } catch (o) {
    }
    e.support = e.extend(e.support || {}, {
        orientation: !(n.uc || parseFloat(e.os.version) < 5 && (n.qq || n.chrome)) && !(e.os.android && parseFloat(e.os.version) > 3) && "orientation" in window && "onorientationchange" in window,
        touch: "ontouchend" in document,
        cssTransitions: "WebKitTransitionEvent" in window,
        has3d: "WebKitCSSMatrix" in window && "m11" in new WebKitCSSMatrix
    })
}(Zepto), function (e) {
    function i() {
        e(window).on("scroll", e.debounce(80, function () {
            e(document).trigger("scrollStop")
        }, !1))
    }

    function t() {
        e(window).off("scroll"), i()
    }

    e.matchMedia = function () {
        var i = 0, t = "gmu-media-detect", a = e.fx.transitionEnd, n = e.fx.cssPrefix, o = e("<style></style>").append("." + t + "{" + n + "transition: width 0.001ms; width: 0; height: 0; position: relative; bottom: 0px;}\n").appendTo("head");
        return function (n) {
            var s, r = t + i++, l = e('<div class="' + t + '" id="' + r + '"></div>').appendTo("body"), c = [];
            return o.append("@media " + n + " { #" + r + " { width: 100px; } }\n"), l.on(a, function () {
                s.matches = 100 === l.width(), e.each(c, function (i, t) {
                    e.isFunction(t) && t.call(s, s)
                })
            }), s = {
                matches: 100 === l.width(), media: n, addListener: function (e) {
                    return c.push(e), this
                }, removeListener: function (e) {
                    var i = c.indexOf(e);
                    return ~i && c.splice(i, 1), this
                }
            }
        }
    }(), e(function () {
        var i = function (i) {
            t !== i.matches && (e(window).trigger("ortchange"), t = i.matches)
        }, t = !0;
        e.mediaQuery = {ortchange: "screen and (width: " + window.innerWidth + "px)"}, e.matchMedia(e.mediaQuery.ortchange).addListener(i)
    }), i(), e(window).on("pageshow", function (i) {
        i.persisted && e(document).off("touchstart", t).one("touchstart", t)
    })
}(Zepto), function (e) {
    var i;
    e.fn.imglazyload = function (t) {
        function a(e) {
            var i = c ? window : r.offset(), a = i[d.win[0]], n = i[d.win[1]];
            return a >= e[d.img[0]] - t.threshold - n && a <= e[d.img[0]] + e[d.img[1]]
        }

        function n(a) {
            var n = !1;
            "IMG" === a.tagName && (n = !0);
            var o, s = e(a);
            e.isFunction(t.startload) && t.startload.call(s);
            var r = s.attr(t.urlName) || s.attr(t.optUrlName);
            o = e("<img />").on("load", function () {
                var e = s;
                n && (e = s.next()), e.css({
                    opacity: "0",
                    "background-image": "url(" + r + ")"
                }), n && e.css({"background-size": "cover"}), e.trigger("loadcomplete"), o.off("load"), s.attr(t.urlName, null).attr(t.optUrlName, null), e.animate({opacity: 1})
            }).on("error", function () {
                var t = e.Event("error");
                s.trigger(t), t.defaultPrevented || i.push(a), o.off("error").remove()
            }).attr("src", r)
        }

        function o() {
            var t, o, r, l;
            for (t = i.length; t--;)o = e(l = i[t]), r = o.offset(), a(r) && (s.call(i, t, 1), n(l))
        }

        var s = Array.prototype.splice, t = e.extend({
            threshold: 0,
            container: window,
            urlName: "data-src",
            optUrlName: "data-url",
            placeHolder: "",
            eventName: "scrollStop",
            refresh: !1,
            innerScroll: !1,
            isVertical: !0,
            startload: null
        }, t), r = e(t.container), l = t.isVertical, c = e.isWindow(r.get(0)), d = {
            win: [l ? "scrollY" : "scrollX", l ? "innerHeight" : "innerWidth"],
            img: [l ? "top" : "left", l ? "height" : "width"]
        };
        return !c && (d.win = d.img), i = e.slice(this).reverse(), t.refresh ? this : (e(document).ready(function () {
            t.placeHolder && e(i).append(t.placeHolder), o()
        }), !t.innerScroll && e(window).on(t.eventName + " ortchange", function () {
            o()
        }), e.fn.imglazyload.detect = o, this)
    }
}(Zepto), le.m.getPromotion = {
    init: function (e) {
        var i = this, t = "undefined" != typeof info && "undefined" != typeof info.ptvcid ? String(info.ptvcid) : "0";
        return i._ptvcidParam = "undefined" != typeof e[t] ? e[t] : e[0], i._getTimeRange(), i._getPromotion()
    }, _getTimeRange: function () {
        for (var e = this, i = e._ptvcidParam.length, t = 0, a = 1; i > a; a++)e._ptvcidParam[a].time && t++;
        if (e._timeParam = [], 1 == i || 0 === t)return void(e._timeParam = e._ptvcidParam);
        for (var n = new Date, o = new Date, s = new Date, a = 1; i > a; a++) {
            var r = e._ptvcidParam[a].time.split("-");
            if (begin = r[0].split(":"), end = r[1].split(":"), 2 != begin.length || 2 != end.length)return;
            if (n.getTime() > o.setHours(begin[0], begin[1]) && n.getTime() < s.setHours(end[0], end[1])) {
                e._timeParam = e._ptvcidParam[a].value;
                break
            }
        }
        e._timeParam.length || (e._timeParam = e._ptvcidParam)
    }, _getPromotion: function () {
        var e = this;
        if (1 == e._timeParam.length)return e._timeParam[0].options;
        var i = 1, t = 100, a = [], n = (e._timeParam[0].options, _.random(i, t));
        $.each(e._timeParam, function (e, i) {
            a[e] = (0 == e ? 0 : a[e - 1]) + i.random
        });
        for (var o = a.length; o--;)if ((0 == o ? i : a[o - 1]) <= n && n < a[o])return e._timeParam[o].options
    }
}, le.m.commonbannerDict = {}, le.m.commonbannerDict.relation = {
    home: "homeBanner",
    "channel/home": "homeBanner",
    chat: "",
    comment: "",
    detail: "",
    "basketball/index": "",
    "basketball/list": "",
    "basketball/schedule": "",
    "basketball/table": "",
    history: "",
    "kzt/index": "",
    play: "playBanner",
    list: "",
    "live/list": "homeBanner",
    "live/play": "playBanner",
    "live/playLw": "playBanner",
    "live/home": "homeBanner",
    hot: "homeBanner",
    "leso/home": "leso/home",
    "leso/start": "",
    "leso/list": "leso/list",
    top: "homeBanner",
    "share/play": "shareplayBanner"
}, le.m.commonbannerDict.stat = {
    "leso/home": "fl=di&dp=msite_leso_home_1",
    "leso/list": "fl=di&dp=msite_leso_list_1",
    home: "fl=di&dp=msite_common_top_banner",
    "channel/home": "fl=di&dp=msite_common_top_banner",
    "share/play": "fl=di&dp=msite_playshare_banner",
    play: "fl=di&dp=msite_play_top_banner",
    "live/play": "fl=di&dp=msite_liveplay_top_banner",
    "live/list": "fl=di&dp=msite_livelist_top_banner"
}, le.m.commonbannerDict.statExp = {
    "leso/home": "msite_leso_home_1_exposure",
    "leso/list": "msite_leso_list_1_exposure",
    home: "msite_common_top_banner_exposure",
    "channel/home": "msite_common_top_banner_exposure"
}, le.m.commonbannerDict.trans = function () {
    this.pageid = "undefined" != typeof info.pageid ? info.pageid : "";
    var e;
    for (var i in this.relation)this.pageid == i && (e = this.relation[i]);
    return e ? e : ""
}, LTK["components/com_base/global"] = function (e, i, t) {
    "use strict";
    var a = {
        init: function () {
            this.initDom(), this.initEvent(), this.initPage()
        }, initDom: function () {
            window.info = window.info || {}, this.geo = Cookie.get("geo") || "CN_0_0"
        }, initEvent: function () {
        }, initPage: function () {
            window.info.lang = window.info.lang || "zh_cn", window.info.region = window.info.region || "CN", window.info.geo = this.geo
        }
    };
    a.init()
}, LTK["air/env/ua"] = function (e, i, t) {
    var a = {}, n = navigator.userAgent.toLowerCase(), o = {
        platforms: [{
            tag: "windows phone",
            flags: ["winPhone", "mobile"]
        }, {tag: "win", flags: ["win"]}, {tag: "ipad", flags: ["ipad", "ios"]}, {
            tag: "ipod",
            flags: ["ipod", "ios", "mobile"]
        }, {tag: "iphone", flags: ["iphone", "ios", "mobile"]}, {tag: "macintosh", flags: ["mac", "ios"]}, {
            tag: "android",
            flags: ["android"]
        }, {tag: "blackberry", flags: ["blackberry", "mobile"]}, {tag: "linux", flags: ["linux"]}],
        browsers: [{tag: "micromessenger", flags: ["weixin"]}, {
            tag: "__weibo__",
            flags: ["weibo"]
        }, {tag: /ucbrowser|ucweb/, flags: ["uc"]}, {
            tag: "qqbrowser",
            flags: ["qq"]
        }, {tag: /letvmobileclient\s+android;letv;/, flags: ["superLetvClient"]}, {
            tag: /leuibrowser|eui browser/,
            flags: ["letvMobile", "letvBrowser"]
        }, {tag: "baiduboxapp", flags: ["baidubox"]}, {tag: "baidubrowser", flags: ["baidu"]}, {
            tag: "xiaomi",
            flags: ["xiaomi"]
        }, {tag: "iemobile", flags: ["ieMobile", "mobile"]}, {tag: "msie ", flags: ["msie"]}, {
            tag: "chrome",
            flags: ["chrome"]
        }, {tag: "crios", flags: ["chrome"]}, {tag: "firefox", flags: ["firefox"]}, {
            tag: "opera",
            flags: ["opera"]
        }, {tag: /iphone.+?safari/, flags: ["safari"]}],
        engines: [{tag: "trident", flags: ["trident"]}, {tag: "webkit", flags: ["webkit"]}, {
            tag: "gecko",
            flags: ["gecko"]
        }, {tag: "presto", flags: ["presto"]}]
    }, s = function (e) {
        var i, t, o, s, r, l, c;
        for (o = 0, s = e.length; s > o; o++)if (t = e[o], r = t.tag, l = "string" == typeof r ? n.indexOf(r) > -1 : r.test(n)) {
            if (i = t.flags)for (c = i.length; c--;)a[i[c]] = !0;
            break
        }
    };
    s(o.platforms), s(o.browsers), s(o.engines), a.mobile || (a.mobile = n.indexOf("mobile") > 0), a.android && (a.androidPad = !a.mobile), a.msie || (a.msie = !!window.ActiveXObject || "ActiveXObject" in window);
    try {
        a.letvTv = "function" == typeof LetvFish.getBrowserType, a.letvTv && (a.letvBox = n.indexOf("letvc1") > 0, a.letvS40 = n.indexOf("letvx40") > 0, a.letvX60 = n.indexOf("letvx60") > 0)
    } catch (r) {
    }
    a.letvClient = n.indexOf("letvclient") > -1 || n.indexOf("letvmobileclient") > -1, a.letvMobile || (a.letvMobile = /\bx\d\d\d\b/.test(n)), a.src = n, t.exports = a
}, LTK["components/app/open_app_schema"] = function (e, i, t) {
    "use strict";
    var a = e("air/env/ua"), n = function (e) {
        return e.replace(/^\s+|\s+$/g, "")
    }, o = function (e) {
        return "letvclient://msiteAction?" + (a.android ? "actionType=12&" : "") + "from=" + encodeURIComponent(e.from)
    }, s = function (e) {
        return "letvclient://msiteAction?actionType=" + (a.android ? "9" : "0") + "&pid=" + e.pid + "&vid=" + e.vid + "&cid=" + e.cid + "&isfullscene=" + encodeURIComponent(e.isfullscene) + "&from=" + encodeURIComponent(e.from)
    }, r = function (e) {
        return "letvclient://msiteAction?actionType=4&weburl=" + encodeURIComponent(e.weburl) + "&from=" + encodeURIComponent(e.from)
    }, l = function (e) {
        var i = a.android ? "&liveid=" + e.streamid + "&livetype=" + encodeURIComponent(e.livetype) + "&ispay=" + encodeURIComponent(e.ispay) + "&ishalf=" + e.ishalf : "";
        return "letvclient://msiteAction?actionType=3&streamid=" + encodeURIComponent(e.streamid) + "&from=" + encodeURIComponent(e.from) + i
    }, c = function (e) {
        return "letvclient://msiteAction?actionType=17&version=2.0&back=1&streamid=" + encodeURIComponent(e.streamid) + "&from=" + encodeURIComponent(e.from)
    }, d = function (e) {
        switch (n(e.app.toLowerCase())) {
            case"letv":
                switch (n(e.type)) {
                    case"home":
                        return o(e);
                    case"play":
                        return s(e);
                    case"webview":
                        return r(e);
                    case"live":
                        return l(e);
                    case"book":
                        return c(e);
                    default:
                        return o(e)
                }
                break;
            case"lesport":
                return "letvsportslaunch://com.lesports.glivesports/main";
            default:
                return o(e)
        }
    };
    t.exports = d
}, LTK["components/langPack/pub"] = function (e, i, t) {
    "use strict";
    e("components/com_base/global");
    var a = {
        pre_end: "试看已结束",
        pre_time: "3秒",
        pre_full: "观看完整版",
        downapp: "下载乐视视频APP",
        downapp_ty: "下载乐视体育APP",
        timeout1: "程序员哥哥打瞌睡睡着了",
        timeout2: "戳这里叫他起床",
        timeout3: "睡得太香了,竟然没有醒",
        timeout4: "继续戳他",
        timeout5: "程序员哥哥太疲劳,再让他睡会吧",
        timeout6: "稍后再试",
        browser: "//i2.letvimg.com/lc02_img/201512/02/14/41/browser.png",
        watch_now: "立即观看",
        shareImg: "//i0.letvimg.com/lc03_img/201508/21/10/59/1058/share.png",
        layerImg: "//i1.letvimg.com/lc05_img/201601/11/14/37/1436/ms_layer.png",
        topdl: "使用乐视视频APP看直播更流畅",
        topapp: "下载App",
        topdl_ty: "使用乐视体育APP 看赛事直播更流畅",
        topdl_pre1: "试看",
        topdl_pre2: "分钟，完整版尽在乐视视频APP",
        loadmore1: "上拉加载更多",
        loadmore2: "下拉加载更多",
        loadmore3: "加载中...",
        loadmore4: "加载失败，请上拉重试",
        loadmore5: "加载失败，请下拉重试",
        bdphone1: "为充分保护您信息安全和合法权利",
        bdphone2: "请绑定手机后方可评论",
        bdphone3: "前往绑定",
        qq: "QQ空间",
        wb: "新浪微博",
        wx: "微信",
        cancel: "取消",
        layerImg2: "//i2.letvimg.com/lc03_img/201510/20/17/45/img_collect.png",
        pcover1: "本片为付费影片，开通会员可免费观看",
        pcover2: "试看已结束，继续观看请开通会员",
        pcover3: "开通会员",
        pcover4: "已是会员，立即登录",
        item_w: " 万",
        item_y: " 亿",
        vip0: "会员极速看视频",
        vip1: "乐次元影视会员",
        vip2: "乐视超级影视会员"
    }, n = {
        pre_end: "Preview has ended",
        pre_time: "",
        pre_full: "",
        downapp: "Watch the full movie by downloading the Le",
        downapp_ty: "Use LeSports now",
        timeout1: "The computer programmer fell asleep",
        timeout2: "Call him up here",
        timeout3: "Sleep too sweet, not even wake up",
        timeout4: "Continue to call him",
        timeout5: "The computer programmer is too tired, then let him sleep",
        timeout6: "Try again later",
        browser: "//i3.letvimg.com/lc06_img/201606/20/16/20/1619/us_browser.png",
        watch_now: "Watch now",
        shareImg: "//i0.letvimg.com/lc06_img/201606/20/16/51/1650/us_share.png",
        layerImg: "//i2.letvimg.com/lc07_img/201606/20/18/34/1833/en_layer.png",
        topdl: "Use Le app now!",
        topapp: "Download App",
        topdl_ty: "Use Le Sports app now!",
        topdl_pre1: "",
        topdl_pre2: "",
        loadmore1: "Pull up to load more",
        loadmore2: "Down to load more",
        loadmore3: "Loading...",
        loadmore4: "Failed to load, please try again",
        loadmore5: "Failed to load, please try again",
        bdphone1: "To fully protect your information security and lawful rights",
        bdphone2: "You can remark only after you peg your mobile phone number to your account",
        bdphone3: "To linked up with your mobile",
        qq: "Q-Zone",
        wb: "Weibo",
        wx: "WeChat",
        cancel: "Cancel",
        layerImg2: "//i3.letvimg.com/lc06_img/201606/23/17/46/1744/en_img_collect.png",
        pcover1: "This movie is a premium movie free for members",
        pcover2: "The preview has ended. To continue, please activate membership",
        pcover3: "Activate membership",
        pcover4: "Log in now",
        item_w: "",
        item_y: "",
        vip0: "Express viewing membership",
        vip1: "LeEco+ Mobile",
        vip2: "Super LePass"
    }, o = {
        pre_end: "試睇已結束",
        pre_time: "3秒",
        pre_full: "觀看完整版",
        downapp: "下載樂視視頻 APP",
        downapp_ty: "下載樂視體育 APP",
        timeout1: "程式師哥哥打瞌睡睡著了",
        timeout2: "戳這裡叫他起床",
        timeout3: "睡的太香了，竟然沒有醒",
        timeout4: "繼續戳他",
        timeout5: "程式師哥哥太疲勞，再讓他睡會兒吧",
        timeout6: "稍後再試",
        browser: "//i2.letvimg.com/lc06_img/201606/20/16/20/1619/hk_browser.png",
        watch_now: "立即觀看",
        shareImg: "//i1.letvimg.com/lc06_img/201606/20/16/51/1650/hk_share.png",
        layerImg: "//i1.letvimg.com/lc07_img/201606/20/18/34/1833/hk_layer.png",
        topdl: "使用樂視視頻 APP 看直播更流暢",
        topapp: "下載App",
        topdl_ty: "使用樂視體育APP 看賽事直播更流暢",
        topdl_pre1: "試看",
        topdl_pre2: "分鐘，完整版盡在樂視視頻APP",
        loadmore1: "上拉載入更多",
        loadmore2: "下拉載入更多",
        loadmore3: "加載中...",
        loadmore4: "加載失敗，請上拉重試",
        loadmore5: "加載失敗。請下拉重試",
        bdphone1: "爲充分保護您的信息安全和合法權利",
        bdphone2: "請綁定手提電話後再評論",
        bdphone3: "去綁定手提電話號碼",
        qq: "QQ空間",
        wb: "新浪微博",
        wx: "微信",
        cancel: "取消",
        layerImg2: "//i3.letvimg.com/lc06_img/201606/23/17/46/1744/hk_img_collect.png",
        pcover1: "本片為付費影片，開通會員可免費觀看",
        pcover2: "試睇已結束，繼續觀看請開通會員",
        pcover3: "開通會員",
        pcover4: "已是會員，立即登入",
        item_w: " 萬",
        item_y: " 億",
        vip0: "會員極速看視頻",
        vip1: "樂次元影視會員",
        vip2: "樂視超級影視會員"
    }, s = {
        init: function () {
            this.initDom(), this.initLangPack()
        }, initDom: function () {
            this.zh_cn = a, this.en_us = this.hi_in = n, this.zh_hk = o
        }, initLangPack: function () {
            info.langPack ? $.extend(info.langPack, this[info.lang] || this.zh_cn) : info.langPack = this[info.lang] || this.zh_cn
        }
    };
    s.init()
}, LTK["air/util/Url"] = function (e, i, t) {
    var a = {
        _query: null, getParam: function (e) {
            var i = this._query;
            return null === i && (i = this._query = this.parseParam(window.location.search.slice(1))), e ? i[e.toLowerCase()] || "" : i
        }, serializeParam: function (e) {
            var i, t, a = [];
            for (i in e)t = e[i], "" !== t && e.hasOwnProperty(i) && a.push(i + "=" + encodeURIComponent(t));
            return a.join("&")
        }, parseParam: function (e) {
            e = e.split("#")[0], e.indexOf("?") > 0 && (e = e.split("?")[1]), e = e.split("&");
            for (var i, t, a = {}, n = 0, o = e.length; o > n; n++)i = e[n], i && (t = i.indexOf("="), v = i.slice(t + 1), v && t > 0 && (a[i.slice(0, t).toLowerCase()] = decodeURIComponent(v)));
            return a
        }, setParam: function (e, i) {
            var t = "";
            if (e.indexOf("#") > -1 && (e = e.split("#"), t = "#" + e[1], e = e[0]), e.indexOf("?") > 0) {
                var a = this.parseParam(e);
                for (var n in a)i.hasOwnProperty(n) || a.hasOwnProperty(n) && (i[n] = a[n]);
                e = e.split("?")[0]
            }
            return e + "?" + this.serializeParam(i) + t
        }
    };
    t.exports = a
}, LTK["components/player/mPlayer"] = function (e, i, t) {
    "use strict";
    function a() {
        "undefined" == typeof window.__canControlPlayer && (window.__canControlPlayer = !0);
        var e, i = $("video");
        return i.length > 0 && window.__canControlPlayer ? e = i.parent().parent() : null
    }

    function n() {
        var e = a();
        e && e.css("display", "")
    }

    function o() {
        var e = a();
        e && e.css("display", "none")
    }

    t.exports = {show: n, hide: o}
}, LTK["components/tips/msTip"] = function (e, i, t) {
    var a = e("components/player/mPlayer");
    e("components/langPack/pub");
    var n = function (e) {
        this.options = $.extend(n.DEFAULT, e)
    };
    n.DEFAULT = {
        bgImg: info.langPack.browser,
        width: 1243,
        height: 1129,
        showBtn: !1,
        showClose: !1
    }, n.prototype.showTip = function () {
        var e = this, i = e.options.bgImg, t = e.options.width, n = e.options.height, o = e.options.$cacheLayer;
        if (!o || 0 === o.length) {
            var s = '<div class="j-ms-openTip" style="background:rgba(0,0,0,0.9);position:fixed;left:0;top:0;width:100%;height:150%;z-index:20000;"></div><div id="j-ms-openTip-bg" class="j-ms-openTip" style="position:fixed;top:0;background:url(' + i + ') no-repeat center center;width:auto;height:320px;background-size:100% auto;z-index:20001;margin:0 auto;left:0;right:0;min-width:320px;max-width:414px;"></div>';
            e.options.showBtn && e.options.showClose && (s = '<div class="j-ms-openTip" style="background:rgba(0,0,0,0.9);position:fixed;left:0;top:0;width:100%;height:150%;z-index:20000;"></div><div id="j-ms-openTip-bg" class="j-ms-openTip" style="position:fixed;top:50%;background:url(' + i + ') no-repeat center center;width:300px;height:300px;background-size:100% auto;z-index:20001;margin:-200px 0 0 -150px;left:50%;border-radius:5px;"><a href="javascript:;" id="btnContinueAction" style="position: absolute;display:block; width:100%;height:50px;background:#ff4b4b;bottom:-48px;left:0; border-radius: 0px 0px 5px 5px;text-align:center;color:#fff; font-size:14px;line-height:50px;">' + info.langPack.watch_now + '</a><a href="javascript:;" id="btnMsTipClose" style="display:block;width:25px;height:25px;border-radius:50%;position:absolute;right:10px;top:126px;background: rgba(0,0,0,.7) url(http://i3.letvimg.com/lc03_img/201512/10/21/59/close.png) no-repeat;background-size:100%;"></a></div>'), $("body").append(s);
            var r = t / ($("#j-ms-openTip-bg")[0].offsetWidth || 320);
            !e.options.showClose && !e.options.showBtn && $("#j-ms-openTip-bg").css("height", n / r), e.options.$cacheLayer = o = $(".j-ms-openTip"), o.on("click", function (e) {
                e.stopPropagation(), o.hide(), a.show()
            })
        }
        a.hide(), o.show(), $("#j-ms-openTip-bg").css("background-image", "url(" + e.options.bgImg + ")"), e.options.showBtn && $("#btnContinueAction").show(), e.options.showClose && $("#btnMsTipClose").show()
    }, t.exports = n
}, require("components/langPack/pub"), LTK["components/tips/msTip_v2"] = function (e, i, t) {
    var a = e("components/player/mPlayer"), n = function (e) {
        this.options = $.extend(n.DEFAULT, e)
    };
    n.DEFAULT = {bgImg: info.langPack.browser, width: 1243, height: 1129}, n.prototype.showTip = function () {
        var e = this, i = e.options.bgImg, t = e.options.width, n = e.options.height, o = e.options.$cacheLayer;
        if (!o || 0 === o.length) {
            var s = '<div class="j-ms-openTip-v2" style="background:rgba(0,0,0,0.9);position:fixed;left:0;top:0;width:100%;height:150%;z-index:20000;"></div><div id="j-ms-openTip-bg-v2" class="j-ms-openTip-v2" style="position:fixed;top:0;background:url(' + i + ') no-repeat center center;width:auto;height:320px;background-size:100% auto;z-index:20001;margin:0 auto;left:0;right:0;min-width:320px;max-width:414px;"></div>';
            $("body").append(s);
            var r = t / ($("#j-ms-openTip-bg-v2")[0].offsetWidth || 320);
            $("#j-ms-openTip-bg-v2").css("height", n / r), e.options.$cacheLayer = o = $(".j-ms-openTip-v2"), o.on("click", function (e) {
                e.stopPropagation(), o.hide(), a.show()
            })
        }
        a.hide(), o.show()
    }, t.exports = n
}, LTK["components/tips/msTip_v3"] = function (e, i, t) {
    var a = e("components/player/mPlayer");
    e("components/langPack/pub");
    var n = function (e) {
        this.options = $.extend(n.DEFAULT, e)
    };
    n.DEFAULT = {bgImg: info.langPack.browser, width: 1243, height: 1129}, n.prototype.showTip = function () {
        var e = this, i = e.options.bgImg, t = e.options.width, n = e.options.height, o = e.options.$cacheLayer;
        if (!o || 0 === o.length) {
            var s = '<div class="j-ms-openTip-v3" style="background:rgba(0,0,0,0.9);position:fixed;left:0;top:0;width:100%;height:150%;z-index:20000;"></div><div id="j-ms-openTip-bg-v3" class="j-ms-openTip-v3" style="position:fixed;top:0;background:url(' + i + ') no-repeat center center;width:auto;height:320px;background-size:100% auto;z-index:20001;margin:0 auto;left:0;right:0;min-width:320px;max-width:414px;"></div>';
            $("body").append(s);
            var r = t / ($("#j-ms-openTip-bg-v3")[0].offsetWidth || 320);
            $("#j-ms-openTip-bg-v3").css("height", n / r), e.options.$cacheLayer = o = $(".j-ms-openTip-v3"), o.on("click", function (e) {
                e.stopPropagation(), o.hide(), a.show()
            })
        }
        a.hide(), o.show()
    }, t.exports = n
};
var getSchemaUri = require("components/app/open_app_schema");
require("components/langPack/pub");
var Url = require("air/util/Url");
window.__openApp || (window.__openApp = {
    defaultWxUrl: {
        lesport: "http://h5api.mobile.lesports.com/download?from=141",
        letv: "http://a.app.qq.com/o/simple.jsp?pkgname=com.letv.android.client&ckey=CK1302109994632"
    },
    defultDownloadUrl: {
        lesport: "http://h5api.mobile.lesports.com/download?from=141",
        letv: le.api_host.app_m + "/download.php"
    },
    MsTip: require("components/tips/msTip"),
    MsTip_v2: require("components/tips/msTip_v2"),
    MsTip_v3: require("components/tips/msTip_v3"),
    param: {},
    thirdApp: "",
    notCN: "https://play.google.com/store/apps/details?id=com.letv.android.client&hl=",
    checkUA: function () {
        var e = this, i = navigator.userAgent.toLowerCase();
        e.isandroid = /android/.test(i), e.isiPhone = /iphone/.test(i), e.isLePhone = /\bx\d\d\d\b/.test(i), e.isWeiXin = /micromessenger/.test(i), e.isWeibo = /weibo/.test(i), e.isbaidubox = /baiduboxapp/.test(i), e.isIOS10 = /iphone\s+os\s+10_\d_\d\s+like mac os/.test(i), e.isLowerIOS = /iphone\s+os\s+[4-8]_\d_\d\s+like mac os/.test(i), e.isSogouSearch = 1 == Url.getParam("fromvsogou"), /360video/.test(i) ? e.thirdApp = "360video" : /newsarticle/.test(i) && (e.thirdApp = "toutiao")
    },
    initParam: function (e) {
        var i = this;
        if (e.app && "letv" === e.app.toLowerCase()) {
            var t = window.info || {};
            i.param.vid = e.vid || t.vid || "", i.param.pid = e.pid || t.pid || "", i.param.cid = e.cid || t.ptvcid || "", i.param.weburl = e.weburl || t.weburl || "", i.param.streamid = e.streamid || t.id || "", i.param.type = e.type || (i.param.pid || i.param.vid ? "play" : ""), i.param.livetype = e.livetype || "", i.param.ispay = e.ispay || 0, i.param.ishalf = e.ishalf || 0, i.param.from = e.from || "m_letv", i.param.isfullscene = e.isfullscene || !1, i.param.app = i._trim(e.app || "letv")
        } else i.param.app = i._trim(e.app || "lesport");
        !i.isLowerIOS && i.isiPhone && !i.options.isOnlyOpen && i.isWeiXin ? i.param.from = i.param.from + "_ulinks" : i.isSogouSearch && (i.param.from = i.param.from + "_sogousearch"), window.__APPGUIDE = window.__APPGUIDE || {}, window.__APPGUIDE.common = window.__APPGUIDE.common || {}
    },
    callUniversalLinks: function () {
        var e = this, i = getSchemaUri(e.param), t = (e._getDownloadAppUrl(), location.host);
        t = "m.le.com" === t ? t.replace("m.le.com", "m.letv.com") : t.replace("m.letv.com", "m.le.com");
        var a = document.createElement("a");
        a.href = location.protocol + "//" + t + "/u_links/?" + i.replace("letvclient://msiteAction?", "") + "&redirect_url=1", a.click()
    },
    _bindDefaultAppEvent: function (e) {
        var i = this, t = navigator.userAgent.toLowerCase();
        if (!(t.indexOf("leautocamera") > -1))if (i.options = e || {}, i.checkUA(), i.initParam(e), i.isDownload = i.options.isOnlyOpen ? !1 : !0, i.isWeiXin)e.isTryLook && window.info && info.appGuideImage ? new i.MsTip({
            bgImg: info.appGuideImage,
            width: 1243,
            height: 1506
        }).showTip() : i.isLowerIOS || !i.isiPhone || i.options.isOnlyOpen ? i._gotoDownloadUrl() : i.callUniversalLinks(); else if (i.isWeibo)e.isTryLook ? info.appGuideImage ? new i.MsTip_v2({
            bgImg: info.appGuideImage,
            width: 1243,
            height: 1506
        }).showTip() : new i.MsTip_v3({
            bgImg: info.langPack.layerImg,
            width: 1243,
            height: 1506
        }).showTip() : (new i.MsTip).showTip(); else if (i.options.app) {
            var a = getSchemaUri(i.param);
            i._lanuchApp(a)
        } else i._gotoDownloadUrl()
    },
    _gotoDownloadUrl: function () {
        var e = this._getDownloadAppUrl();
        e && (location.href = e), window.info && "play" === window.info.pageid && window.info.videoBelowDaoliu && Stats.feStat({code: "down_app"})
    },
    _getDownloadAppUrl: function () {
        var e = this, i = "", t = e.options, a = e.defaultWxUrl, n = e.defultDownloadUrl, o = e._trim(t.app ? t.app.toLowerCase() : "letv");
        return e.isWeiXin ? (i = (t.wxUrl ? t.wxUrl : a[o]) + "&android_schema=" + encodeURIComponent(getSchemaUri(e.param)), !e.isLowerIOS && e.isiPhone && (i = t.wxUrl ? t.wxUrl : a[o])) : (i = e.thirdApp && t.thirdApp && t.thirdApp[e.thirdApp] ? encodeURI(e._trim(t.thirdApp[e.thirdApp])) : t.url ? encodeURI(e._trim(t.url)) : e.isandroid ? encodeURI(t.androidUrl ? e._trim(t.androidUrl) : n[o]) : encodeURI(t.iosUrl ? e._trim(t.iosUrl) : n[o]), window.info && (e.isandroid ? "HK" === window.info.region ? i = e.notCN + "zh_hk" : "" !== window.info.region && "CN" !== window.info.region && (i = e.notCN + "en_us") : e.isiPhone && "" !== window.info.region && "CN" !== window.info.region && (i = "http://app.m.letv.com/download_general.php"))), i
    },
    _lanuchApp: function (e) {
        var i = this;
        if (i.isandroid)setTimeout(function () {
            var t = (new Date).valueOf(), a = document.createElement("iframe");
            if (a.style.cssText = "width:0px;height:0px;position:fixed;top:0;left:0;border:0;", a.src = e, document.body.appendChild(a), t = (new Date).valueOf(), i.isDownload)if ("toutiao" === i.thirdApp) {
                var n, o = 0, s = +new Date;
                n = setInterval(function () {
                    o++;
                    var e = +new Date - s;
                    o >= 50 && (clearInterval(n), 1080 > e && !i.isLePhone && i._gotoDownloadUrl())
                }, 20)
            } else setTimeout(function () {
                var e = (new Date).valueOf();
                1550 > e - t && i._gotoDownloadUrl()
            }, 1500)
        }, 100); else {
            var t, a, n, o, s, r = i.isbaidubox && i.isIOS10 ? 1500 : 1300;
            a = function (e, t) {
                i.isDownload && t && i._gotoDownloadUrl(), window.removeEventListener("pagehide", n, !0), window.removeEventListener("pageshow", n, !0), o && s && (o.onload = null, s.removeChild(o), o = null)
            }, n = function (e) {
                clearTimeout(t), a(e, !1)
            }, window.addEventListener("pagehide", n, !0), window.addEventListener("pageshow", n, !0), i.isLowerIOS ? (s = document.body, o = document.createElement("iframe"), o.style.display = "none", o.onload = a, o.src = e, s.appendChild(o)) : location.href = e;
            var l = +new Date;
            t = setTimeout(function () {
                t = setTimeout(function () {
                    var e = +new Date;
                    e - l > r ? a(null, !1) : a(null, !0)
                }, 1200)
            }, 60)
        }
    },
    _trim: function (e) {
        return e.replace(/^\s+|\s+$/g, "")
    }
}), LTK["components/app/callApp"] = function (e, i, t) {
    "use strict";
    var a = e("air/env/ua"), n = {
        call: function (e) {
            var i = a.letvMobile ? "lingxian" : a.android ? "android" : "ios", t = Stats && Stats.BR ? Stats.BR : "letv", n = e.position || "home", o = {
                app: "letv",
                url: le.api_host.app_m + "/download_general.php?ref=010110678",
                wxUrl: "http://a.app.qq.com/o/simple.jsp?pkgname=com.letv.android.client&ckey=CK1302109994632",
                from: "m_" + i + "_" + t + "_" + n,
                type: "home"
            }, s = $.extend(o, e.daoliuConfig);
            this.openApp(s)
        }, openApp: function (e) {
            __openApp._bindDefaultAppEvent(e)
        }
    };
    t.exports = n
}, require("components/com_base/global"), le.m.commonBanner = {
    ua: require("air/env/ua"),
    daoliuApp: require("components/app/callApp"),
    init: function () {
        if (this.Url = require("air/util/Url"), !(window.info && ("play" === window.info.pageid || "share/play" === window.info.pageid) || window.info && info.openby && "letvapp" === info.openby)) {
            if (window.info && info.pageid && "play" === info.pageid) {
                if ("taobaobrowser" === this.Url.getParam("ref") || "360mobile" == info.site)return;
                if ("samsung" === this.Url.getParam("ref"))switch (this.Url.getParam("app")) {
                    case"letv":
                        info.ptvcid = "samsung/letv";
                        break;
                    case"watchball":
                        info.ptvcid = "samsung/watchball"
                }
            }
            window.info && info.pageid && "izt/index" === info.pageid && (info.ptvcid = __INFO__.cid || ""), this._initGVal(), window.__PromotionApp && __PromotionApp.commonBanner && (this._initDom(), this._initEvent())
        }
    },
    _initDom: function () {
        var e = window.__PromotionApp && __PromotionApp.commonBanner.img || "//i0.letvimg.com/lc05_img/201601/11/14/37/1436/banner2.png";
        ("US" === info.region || "IN" === info.region) && (e = "//i2.letvimg.com/lc07_iscms/201606/29/17/05/018855ee2c9541d3a9562472ba9d2124.jpg", this.staticVid = "25570990"), "HK" === info.region && (e = "//i1.letvimg.com/lc05_iscms/201606/30/10/30/4a491f48aa4d41309f8de5043a75c528.png", this.staticVid = "25570990"), this.ua = require("air/env/ua"), this._win = $(window), this._body = $(document.body), this._tpl = ['<div id="j-smartnew" class="" style="-webkit-transform: translateY(0px);">', '<div class="">', '<a href="javascript:;" k-name="send-click-stat" data-click-stat="' + le.m.commonbannerDict.stat[info.pageid] + '">', '<img src="' + e + '" width="320" height="40" onerror="javascript:this.style.height=0"/>', "</a>", '<em class="" data-action="hide"><a href="javascript:;"><i class="i-1"></i><i class="i-2"></i></a></em>', "</div>", "</div>"].join("")
    },
    _initEvent: function () {
        this.__render = _.bind(this._render, this), this._win.on("load", this.__render)
    },
    _initGVal: function () {
        if (this._relation = le.m.commonbannerDict.trans(), this._relation && window.__PromotionApp)if (window.info && info.smartBanner && _.size(info.smartBanner))__PromotionApp.commonBanner = info.smartBanner; else {
            if (!__PromotionApp[this._relation])return;
            __PromotionApp.commonBanner = le.m.getPromotion.init(__PromotionApp[this._relation])
        }
    },
    _render: function () {
        this._body.prepend(this._tpl), Stats.sendAction({
            acode: "41",
            ap: le.m.commonbannerDict.statExp[info.pageid]
        }), this._wrapper = $("#j-smartnew"), this._innerWrapper = this._wrapper.find("div").eq(0), this._addRandomClass(), this._banner = this._wrapper.find("a").eq(0), this._destory(), this.__open = _.bind(this._open, this), this.__hide = _.bind(this._hide, this), this._banner.on("click", this.__open), this._wrapper.on("click", 'em[data-action="hide"]', this.__hide)
    },
    _addRandomClass: function () {
        this._close = $("#j-smartnew").find("em");
        var e = "class" + (new Date).getTime(), i = "start_" + e, t = "<style>.show-start ." + i + "{display:none;} #j-smartnew{width:100%;position:fixed;bottom:0;z-index:2;-webkit-animation: opacity .3s  linear;-moz-animation: opacity .3s  linear;-ms-animation: opacity .3s  linear;-o-animation: opacity .3s  linear;animation: opacity .3s  linear;} @-webkit-keyframes opacity {0%{opacity: 0;}100% {opacity: 1; }}@-moz-keyframes opacity {0%{ opacity: 0;}100% { opacity: 1; }}@-ms-keyframes opacity {0%{ opacity: 0;}100% { opacity: 1; }}@-o-keyframes opacity {0%{opacity: 0;}100% {opacity: 1; }}@keyframes opacity {0%{  opacity: 0;}100% { opacity: 1; }}." + i + "{padding: 0;font-size: 18px;position: relative;text-align: center;min-width: 310px;height: auto;overflow: hidden;margin:0 auto;}." + i + " a{color: #fff;display: block;width: 100%;overflow: hidden;}." + i + " img{display: block;width: 100%;float: left;height: auto;}." + i + " ." + e + "{position:absolute;top:50%;margin-top:-16px;right:0px;padding:6px;width:20px;height:20px;}." + i + " ." + e + " a,." + i + " ." + e + " a:hover {display: block;height: 20px;position: relative;}." + e + " i {height: 14px;left: 9px;top: 3px;width:2px;position:absolute;background:#fff;border-radius:5px;}." + e + " .i-1 {-moz-transform: rotate(45deg);-webkit-transform: rotate(45deg);}." + e + " .i-2 {-moz-transform: rotate(-45deg);	-webkit-transform: rotate(-45deg);}</style>";
        $("head").eq(0).append(t), this._close.attr("class", e), this._innerWrapper.attr("class", i)
    },
    _open: function (e) {
        e.preventDefault(), e.stopPropagation();
        var i = window.__PromotionApp && __PromotionApp.commonBanner, t = this.staticVid || i.vid || info.vid || "", a = t ? "play" : "", n = this.ua.letvMobile ? "lingxian" : this.ua.android ? "android" : "ios", o = Stats && Stats.BR ? Stats.BR : "letv", s = "bbanner";
        if (window.info && info.pageid)switch (info.pageid) {
            case"home":
                s = "hbanner";
                break;
            case"channel/home":
                s = "cbanner";
                break;
            case"leso/home":
                s = "sbanner";
                break;
            case"leso/list":
                s = "srbanner"
        }
        "lesport" == i.app ? this.daoliuApp.call({
            daoliuConfig: {
                app: i.app || "",
                wxUrl: i.wxUrl || "",
                iosUrl: i.iosUrl || "",
                androidUrl: i.androidUrl || "",
                vid: t,
                iosShortUrl: i.iosShortUrl || "",
                androidShortUrl: i.androidShortUrl || ""
            }
        }) : this.daoliuApp.call({
            daoliuConfig: {
                app: i.app || "",
                url: i.url || "",
                wxUrl: i.wxUrl || "",
                wxShortUrl: i.wxShortUrl || "",
                pid: i.pid || info.pid || "",
                vid: t,
                type: a,
                from: "m_" + n + "_" + o + "_" + s,
                thirdApp: i.thirdApp || {}
            }
        }), this.ua.toutiao ? Stats.sendAction({ap: "fl=di&dp=msite_toutiao_play_top_banner"}) : Ker.emit("send-click-stat", this._banner[0])
    },
    _hide: function (e) {
        e.preventDefault(), this._wrapper.addClass("f-hide"), $.cookie("_no_banner_", "1", {expires: 1}), this._destory()
    },
    _destory: function () {
        this.__render && (this._win.off("load", this.__render), delete this.__render, this._win = null), this.__hide && (this._wrapper.off("click", 'em[data-action="hide"]', this.__hide), delete this.__hide, delete this.__sendSum, this._wrapper = this._body = null)
    }
}, function () {
    "use strict";
    function e(e) {
        e.fn.swiper = function (i) {
            var a;
            return e(this).each(function () {
                var e = new t(this, i);
                a || (a = e)
            }), a
        }
    }

    var i, t = function (e, n) {
        function o() {
            return "horizontal" === b.params.direction
        }

        function s(e) {
            return Math.floor(e)
        }

        function r() {
            b.autoplayTimeoutId = setTimeout(function () {
                b.params.loop ? (b.fixLoop(), b._slideNext()) : b.isEnd ? n.autoplayStopOnLast ? b.stopAutoplay() : b._slideTo(0) : b._slideNext();
            }, b.params.autoplay)
        }

        function l(e, t) {
            var a = i(e.target);
            if (!a.is(t))if ("string" == typeof t)a = a.parents(t); else if (t.nodeType) {
                var n;
                return a.parents().each(function (e, i) {
                    i === t && (n = t)
                }), n ? t : void 0
            }
            return 0 === a.length ? void 0 : a[0]
        }

        function c(e, i) {
            i = i || {};
            var t = window.MutationObserver || window.WebkitMutationObserver, a = new t(function (e) {
                e.forEach(function (e) {
                    b.onResize(!0), b.emit("onObserverUpdate", b, e)
                })
            });
            a.observe(e, {
                attributes: "undefined" == typeof i.attributes ? !0 : i.attributes,
                childList: "undefined" == typeof i.childList ? !0 : i.childList,
                characterData: "undefined" == typeof i.characterData ? !0 : i.characterData
            }), b.observers.push(a)
        }

        function d(e) {
            e.originalEvent && (e = e.originalEvent);
            var i = e.keyCode || e.charCode;
            if (!b.params.allowSwipeToNext && (o() && 39 === i || !o() && 40 === i))return !1;
            if (!b.params.allowSwipeToPrev && (o() && 37 === i || !o() && 38 === i))return !1;
            if (!(e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || document.activeElement && document.activeElement.nodeName && ("input" === document.activeElement.nodeName.toLowerCase() || "textarea" === document.activeElement.nodeName.toLowerCase()))) {
                if (37 === i || 39 === i || 38 === i || 40 === i) {
                    var t = !1;
                    if (b.container.parents(".swiper-slide").length > 0 && 0 === b.container.parents(".swiper-slide-active").length)return;
                    var a = {
                        left: window.pageXOffset,
                        top: window.pageYOffset
                    }, n = window.innerWidth, s = window.innerHeight, r = b.container.offset();
                    b.rtl && (r.left = r.left - b.container[0].scrollLeft);
                    for (var l = [[r.left, r.top], [r.left + b.width, r.top], [r.left, r.top + b.height], [r.left + b.width, r.top + b.height]], c = 0; c < l.length; c++) {
                        var d = l[c];
                        d[0] >= a.left && d[0] <= a.left + n && d[1] >= a.top && d[1] <= a.top + s && (t = !0)
                    }
                    if (!t)return
                }
                o() ? ((37 === i || 39 === i) && (e.preventDefault ? e.preventDefault() : e.returnValue = !1), (39 === i && !b.rtl || 37 === i && b.rtl) && b.slideNext(), (37 === i && !b.rtl || 39 === i && b.rtl) && b.slidePrev()) : ((38 === i || 40 === i) && (e.preventDefault ? e.preventDefault() : e.returnValue = !1), 40 === i && b.slideNext(), 38 === i && b.slidePrev())
            }
        }

        function p(e) {
            e.originalEvent && (e = e.originalEvent);
            var i = b.mousewheel.event, t = 0, a = b.rtl ? -1 : 1;
            if (e.detail)t = -e.detail; else if ("mousewheel" === i)if (b.params.mousewheelForceToAxis)if (o()) {
                if (!(Math.abs(e.wheelDeltaX) > Math.abs(e.wheelDeltaY)))return;
                t = e.wheelDeltaX * a
            } else {
                if (!(Math.abs(e.wheelDeltaY) > Math.abs(e.wheelDeltaX)))return;
                t = e.wheelDeltaY
            } else t = Math.abs(e.wheelDeltaX) > Math.abs(e.wheelDeltaY) ? -e.wheelDeltaX * a : -e.wheelDeltaY; else if ("DOMMouseScroll" === i)t = -e.detail; else if ("wheel" === i)if (b.params.mousewheelForceToAxis)if (o()) {
                if (!(Math.abs(e.deltaX) > Math.abs(e.deltaY)))return;
                t = -e.deltaX * a
            } else {
                if (!(Math.abs(e.deltaY) > Math.abs(e.deltaX)))return;
                t = -e.deltaY
            } else t = Math.abs(e.deltaX) > Math.abs(e.deltaY) ? -e.deltaX * a : -e.deltaY;
            if (0 !== t) {
                if (b.params.mousewheelInvert && (t = -t), b.params.freeMode) {
                    var n = b.getWrapperTranslate() + t * b.params.mousewheelSensitivity, s = b.isBeginning, r = b.isEnd;
                    if (n >= b.minTranslate() && (n = b.minTranslate()), n <= b.maxTranslate() && (n = b.maxTranslate()), b.setWrapperTransition(0), b.setWrapperTranslate(n), b.updateProgress(), b.updateActiveIndex(), (!s && b.isBeginning || !r && b.isEnd) && b.updateClasses(), b.params.freeModeSticky && (clearTimeout(b.mousewheel.timeout), b.mousewheel.timeout = setTimeout(function () {
                            b.slideReset()
                        }, 300)), 0 === n || n === b.maxTranslate())return
                } else {
                    if ((new window.Date).getTime() - b.mousewheel.lastScrollTime > 60)if (0 > t)if (b.isEnd && !b.params.loop || b.animating) {
                        if (b.params.mousewheelReleaseOnEdges)return !0
                    } else b.slideNext(); else if (b.isBeginning && !b.params.loop || b.animating) {
                        if (b.params.mousewheelReleaseOnEdges)return !0
                    } else b.slidePrev();
                    b.mousewheel.lastScrollTime = (new window.Date).getTime()
                }
                return b.params.autoplay && b.stopAutoplay(), e.preventDefault ? e.preventDefault() : e.returnValue = !1, !1
            }
        }

        function h(e, t) {
            e = i(e);
            var a, n, s, r = b.rtl ? -1 : 1;
            a = e.attr("data-swiper-parallax") || "0", n = e.attr("data-swiper-parallax-x"), s = e.attr("data-swiper-parallax-y"), n || s ? (n = n || "0", s = s || "0") : o() ? (n = a, s = "0") : (s = a, n = "0"), n = n.indexOf("%") >= 0 ? parseInt(n, 10) * t * r + "%" : n * t * r + "px", s = s.indexOf("%") >= 0 ? parseInt(s, 10) * t + "%" : s * t + "px", e.transform("translate3d(" + n + ", " + s + ",0px)")
        }

        function u(e) {
            return 0 !== e.indexOf("on") && (e = e[0] !== e[0].toUpperCase() ? "on" + e[0].toUpperCase() + e.substring(1) : "on" + e), e
        }

        if (!(this instanceof t))return new t(e, n);
        var f = {
            direction: "horizontal",
            touchEventsTarget: "container",
            initialSlide: 0,
            speed: 300,
            autoplay: !1,
            autoplayDisableOnInteraction: !0,
            iOSEdgeSwipeDetection: !1,
            iOSEdgeSwipeThreshold: 20,
            freeMode: !1,
            freeModeMomentum: !0,
            freeModeMomentumRatio: 1,
            freeModeMomentumBounce: !0,
            freeModeMomentumBounceRatio: 1,
            freeModeSticky: !1,
            freeModeMinimumVelocity: .02,
            autoHeight: !1,
            setWrapperSize: !1,
            virtualTranslate: !1,
            effect: "slide",
            coverflow: {rotate: 50, stretch: 0, depth: 100, modifier: 1, slideShadows: !0},
            cube: {slideShadows: !0, shadow: !0, shadowOffset: 20, shadowScale: .94},
            fade: {crossFade: !1},
            parallax: !1,
            scrollbar: null,
            scrollbarHide: !0,
            scrollbarDraggable: !1,
            scrollbarSnapOnRelease: !1,
            keyboardControl: !1,
            mousewheelControl: !1,
            mousewheelReleaseOnEdges: !1,
            mousewheelInvert: !1,
            mousewheelForceToAxis: !1,
            mousewheelSensitivity: 1,
            hashnav: !1,
            breakpoints: void 0,
            spaceBetween: 0,
            slidesPerView: 1,
            slidesPerColumn: 1,
            slidesPerColumnFill: "column",
            slidesPerGroup: 1,
            centeredSlides: !1,
            slidesOffsetBefore: 0,
            slidesOffsetAfter: 0,
            roundLengths: !1,
            touchRatio: 1,
            touchAngle: 45,
            simulateTouch: !0,
            shortSwipes: !0,
            longSwipes: !0,
            longSwipesRatio: .5,
            longSwipesMs: 300,
            followFinger: !0,
            onlyExternal: !1,
            threshold: 0,
            touchMoveStopPropagation: !0,
            pagination: null,
            paginationElement: "span",
            paginationClickable: !1,
            paginationHide: !1,
            paginationBulletRender: null,
            resistance: !0,
            resistanceRatio: .85,
            nextButton: null,
            prevButton: null,
            watchSlidesProgress: !1,
            watchSlidesVisibility: !1,
            grabCursor: !1,
            preventClicks: !0,
            preventClicksPropagation: !0,
            slideToClickedSlide: !1,
            lazyLoading: !1,
            lazyLoadingInPrevNext: !1,
            lazyLoadingOnTransitionStart: !1,
            preloadImages: !0,
            updateOnImagesReady: !0,
            loop: !1,
            loopAdditionalSlides: 0,
            loopedSlides: null,
            control: void 0,
            controlInverse: !1,
            controlBy: "slide",
            allowSwipeToPrev: !0,
            allowSwipeToNext: !0,
            swipeHandler: null,
            noSwiping: !0,
            noSwipingClass: "swiper-no-swiping",
            slideClass: "swiper-slide",
            slideActiveClass: "swiper-slide-active",
            slideVisibleClass: "swiper-slide-visible",
            slideDuplicateClass: "swiper-slide-duplicate",
            slideNextClass: "swiper-slide-next",
            slidePrevClass: "swiper-slide-prev",
            wrapperClass: "swiper-wrapper",
            bulletClass: "swiper-pagination-bullet",
            bulletActiveClass: "swiper-pagination-bullet-active",
            buttonDisabledClass: "swiper-button-disabled",
            paginationHiddenClass: "swiper-pagination-hidden",
            observer: !1,
            observeParents: !1,
            a11y: !1,
            prevSlideMessage: "Previous slide",
            nextSlideMessage: "Next slide",
            firstSlideMessage: "This is the first slide",
            lastSlideMessage: "This is the last slide",
            paginationBulletMessage: "Go to slide {{index}}",
            runCallbacksOnInit: !0
        }, m = n && n.virtualTranslate;
        n = n || {};
        var g = {};
        for (var v in n)if ("object" != typeof n[v] || (n[v].nodeType || n[v] === window || n[v] === document || "undefined" != typeof a && n[v] instanceof a || "undefined" != typeof jQuery && n[v] instanceof jQuery))g[v] = n[v]; else {
            g[v] = {};
            for (var w in n[v])g[v][w] = n[v][w]
        }
        for (var _ in f)if ("undefined" == typeof n[_])n[_] = f[_]; else if ("object" == typeof n[_])for (var y in f[_])"undefined" == typeof n[_][y] && (n[_][y] = f[_][y]);
        var b = this;
        if (b.params = n, b.originalParams = g, b.classNames = [], "undefined" != typeof i && "undefined" != typeof a && (i = a), ("undefined" != typeof i || (i = "undefined" == typeof a ? window.Dom7 || window.Zepto || window.jQuery : a)) && (b.$ = i, b.currentBreakpoint = void 0, b.getActiveBreakpoint = function () {
                if (!b.params.breakpoints)return !1;
                var e, i = !1, t = [];
                for (e in b.params.breakpoints)b.params.breakpoints.hasOwnProperty(e) && t.push(e);
                t.sort(function (e, i) {
                    return parseInt(e, 10) > parseInt(i, 10)
                });
                for (var a = 0; a < t.length; a++)e = t[a], e >= window.innerWidth && !i && (i = e);
                return i || "max"
            }, b.setBreakpoint = function () {
                var e = b.getActiveBreakpoint();
                if (e && b.currentBreakpoint !== e) {
                    var i = e in b.params.breakpoints ? b.params.breakpoints[e] : b.originalParams;
                    for (var t in i)b.params[t] = i[t];
                    b.currentBreakpoint = e
                }
            }, b.params.breakpoints && b.setBreakpoint(), b.container = i(e), 0 !== b.container.length)) {
            if (b.container.length > 1)return void b.container.each(function () {
                new t(this, n)
            });
            b.container[0].swiper = b, b.container.data("swiper", b), b.classNames.push("swiper-container-" + b.params.direction), b.params.freeMode && b.classNames.push("swiper-container-free-mode"), b.support.flexbox || (b.classNames.push("swiper-container-no-flexbox"), b.params.slidesPerColumn = 1), b.params.autoHeight && b.classNames.push("swiper-container-autoheight"), (b.params.parallax || b.params.watchSlidesVisibility) && (b.params.watchSlidesProgress = !0), ["cube", "coverflow"].indexOf(b.params.effect) >= 0 && (b.support.transforms3d ? (b.params.watchSlidesProgress = !0, b.classNames.push("swiper-container-3d")) : b.params.effect = "slide"), "slide" !== b.params.effect && b.classNames.push("swiper-container-" + b.params.effect), "cube" === b.params.effect && (b.params.resistanceRatio = 0, b.params.slidesPerView = 1, b.params.slidesPerColumn = 1, b.params.slidesPerGroup = 1, b.params.centeredSlides = !1, b.params.spaceBetween = 0, b.params.virtualTranslate = !0, b.params.setWrapperSize = !1), "fade" === b.params.effect && (b.params.slidesPerView = 1, b.params.slidesPerColumn = 1, b.params.slidesPerGroup = 1, b.params.watchSlidesProgress = !0, b.params.spaceBetween = 0, "undefined" == typeof m && (b.params.virtualTranslate = !0)), b.params.grabCursor && b.support.touch && (b.params.grabCursor = !1), b.wrapper = b.container.children("." + b.params.wrapperClass), b.params.pagination && (b.paginationContainer = i(b.params.pagination), b.params.paginationClickable && b.paginationContainer.addClass("swiper-pagination-clickable")), b.rtl = o() && ("rtl" === b.container[0].dir.toLowerCase() || "rtl" === b.container.css("direction")), b.rtl && b.classNames.push("swiper-container-rtl"), b.rtl && (b.wrongRTL = "-webkit-box" === b.wrapper.css("display")), b.params.slidesPerColumn > 1 && b.classNames.push("swiper-container-multirow"), b.device.android && b.classNames.push("swiper-container-android"), b.container.addClass(b.classNames.join(" ")), b.translate = 0, b.progress = 0, b.velocity = 0, b.lockSwipeToNext = function () {
                b.params.allowSwipeToNext = !1
            }, b.lockSwipeToPrev = function () {
                b.params.allowSwipeToPrev = !1
            }, b.lockSwipes = function () {
                b.params.allowSwipeToNext = b.params.allowSwipeToPrev = !1
            }, b.unlockSwipeToNext = function () {
                b.params.allowSwipeToNext = !0
            }, b.unlockSwipeToPrev = function () {
                b.params.allowSwipeToPrev = !0
            }, b.unlockSwipes = function () {
                b.params.allowSwipeToNext = b.params.allowSwipeToPrev = !0
            }, b.params.grabCursor && (b.container[0].style.cursor = "move", b.container[0].style.cursor = "-webkit-grab", b.container[0].style.cursor = "-moz-grab", b.container[0].style.cursor = "grab"), b.imagesToLoad = [], b.imagesLoaded = 0, b.loadImage = function (e, i, t, a, n) {
                function o() {
                    n && n()
                }

                var s;
                e.complete && a ? o() : i ? (s = new window.Image, s.onload = o, s.onerror = o, t && (s.srcset = t), i && (s.src = i)) : o()
            }, b.preloadImages = function () {
                function e() {
                    "undefined" != typeof b && null !== b && (void 0 !== b.imagesLoaded && b.imagesLoaded++, b.imagesLoaded === b.imagesToLoad.length && (b.params.updateOnImagesReady && b.update(), b.emit("onImagesReady", b)))
                }

                b.imagesToLoad = b.container.find("img");
                for (var i = 0; i < b.imagesToLoad.length; i++)b.loadImage(b.imagesToLoad[i], b.imagesToLoad[i].currentSrc || b.imagesToLoad[i].getAttribute("src"), b.imagesToLoad[i].srcset || b.imagesToLoad[i].getAttribute("srcset"), !0, e)
            }, b.autoplayTimeoutId = void 0, b.autoplaying = !1, b.autoplayPaused = !1, b.startAutoplay = function () {
                return "undefined" != typeof b.autoplayTimeoutId ? !1 : b.params.autoplay ? b.autoplaying ? !1 : (b.autoplaying = !0, b.emit("onAutoplayStart", b), void r()) : !1
            }, b.stopAutoplay = function (e) {
                b.autoplayTimeoutId && (b.autoplayTimeoutId && clearTimeout(b.autoplayTimeoutId), b.autoplaying = !1, b.autoplayTimeoutId = void 0, b.emit("onAutoplayStop", b))
            }, b.pauseAutoplay = function (e) {
                b.autoplayPaused || (b.autoplayTimeoutId && clearTimeout(b.autoplayTimeoutId), b.autoplayPaused = !0, 0 === e ? (b.autoplayPaused = !1, r()) : b.wrapper.transitionEnd(function () {
                    b && (b.autoplayPaused = !1, b.autoplaying ? r() : b.stopAutoplay())
                }))
            }, b.minTranslate = function () {
                return -b.snapGrid[0]
            }, b.maxTranslate = function () {
                return -b.snapGrid[b.snapGrid.length - 1]
            }, b.updateAutoHeight = function () {
                var e = b.slides.eq(b.activeIndex)[0].offsetHeight;
                e && b.wrapper.css("height", b.slides.eq(b.activeIndex)[0].offsetHeight + "px")
            }, b.updateContainerSize = function () {
                var e, i;
                e = "undefined" != typeof b.params.width ? b.params.width : b.container[0].clientWidth, i = "undefined" != typeof b.params.height ? b.params.height : b.container[0].clientHeight, 0 === e && o() || 0 === i && !o() || (e = e - parseInt(b.container.css("padding-left"), 10) - parseInt(b.container.css("padding-right"), 10), i = i - parseInt(b.container.css("padding-top"), 10) - parseInt(b.container.css("padding-bottom"), 10), b.width = e, b.height = i, b.size = o() ? b.width : b.height)
            }, b.updateSlidesSize = function () {
                b.slides = b.wrapper.children("." + b.params.slideClass), b.snapGrid = [], b.slidesGrid = [], b.slidesSizesGrid = [];
                var e, i = b.params.spaceBetween, t = -b.params.slidesOffsetBefore, a = 0, n = 0;
                "string" == typeof i && i.indexOf("%") >= 0 && (i = parseFloat(i.replace("%", "")) / 100 * b.size), b.virtualSize = -i, b.rtl ? b.slides.css({
                    marginLeft: "",
                    marginTop: ""
                }) : b.slides.css({marginRight: "", marginBottom: ""});
                var r;
                b.params.slidesPerColumn > 1 && (r = Math.floor(b.slides.length / b.params.slidesPerColumn) === b.slides.length / b.params.slidesPerColumn ? b.slides.length : Math.ceil(b.slides.length / b.params.slidesPerColumn) * b.params.slidesPerColumn, "auto" !== b.params.slidesPerView && "row" === b.params.slidesPerColumnFill && (r = Math.max(r, b.params.slidesPerView * b.params.slidesPerColumn)));
                var l, c = b.params.slidesPerColumn, d = r / c, p = d - (b.params.slidesPerColumn * d - b.slides.length);
                for (e = 0; e < b.slides.length; e++) {
                    l = 0;
                    var h = b.slides.eq(e);
                    if (b.params.slidesPerColumn > 1) {
                        var u, f, m;
                        "column" === b.params.slidesPerColumnFill ? (f = Math.floor(e / c), m = e - f * c, (f > p || f === p && m === c - 1) && ++m >= c && (m = 0, f++), u = f + m * r / c, h.css({
                            "-webkit-box-ordinal-group": u,
                            "-moz-box-ordinal-group": u,
                            "-ms-flex-order": u,
                            "-webkit-order": u,
                            order: u
                        })) : (m = Math.floor(e / d), f = e - m * d), h.css({"margin-top": 0 !== m && b.params.spaceBetween && b.params.spaceBetween + "px"}).attr("data-swiper-column", f).attr("data-swiper-row", m)
                    }
                    "none" !== h.css("display") && ("auto" === b.params.slidesPerView ? (l = o() ? h.outerWidth(!0) : h.outerHeight(!0), b.params.roundLengths && (l = s(l))) : (l = (b.size - (b.params.slidesPerView - 1) * i) / b.params.slidesPerView, b.params.roundLengths && (l = s(l)), o() ? b.slides[e].style.width = l + "px" : b.slides[e].style.height = l + "px"), b.slides[e].swiperSlideSize = l, b.slidesSizesGrid.push(l), b.params.centeredSlides ? (t = t + l / 2 + a / 2 + i, 0 === e && (t = t - b.size / 2 - i), Math.abs(t) < .001 && (t = 0), n % b.params.slidesPerGroup === 0 && b.snapGrid.push(t), b.slidesGrid.push(t)) : (n % b.params.slidesPerGroup === 0 && b.snapGrid.push(t), b.slidesGrid.push(t), t = t + l + i), b.virtualSize += l + i, a = l, n++)
                }
                b.virtualSize = Math.max(b.virtualSize, b.size) + b.params.slidesOffsetAfter;
                var g;
                if (b.rtl && b.wrongRTL && ("slide" === b.params.effect || "coverflow" === b.params.effect) && b.wrapper.css({width: b.virtualSize + b.params.spaceBetween + "px"}), (!b.support.flexbox || b.params.setWrapperSize) && (o() ? b.wrapper.css({width: b.virtualSize + b.params.spaceBetween + "px"}) : b.wrapper.css({height: b.virtualSize + b.params.spaceBetween + "px"})), b.params.slidesPerColumn > 1 && (b.virtualSize = (l + b.params.spaceBetween) * r, b.virtualSize = Math.ceil(b.virtualSize / b.params.slidesPerColumn) - b.params.spaceBetween, b.wrapper.css({width: b.virtualSize + b.params.spaceBetween + "px"}), b.params.centeredSlides)) {
                    for (g = [], e = 0; e < b.snapGrid.length; e++)b.snapGrid[e] < b.virtualSize + b.snapGrid[0] && g.push(b.snapGrid[e]);
                    b.snapGrid = g
                }
                if (!b.params.centeredSlides) {
                    for (g = [], e = 0; e < b.snapGrid.length; e++)b.snapGrid[e] <= b.virtualSize - b.size && g.push(b.snapGrid[e]);
                    b.snapGrid = g, Math.floor(b.virtualSize - b.size) > Math.floor(b.snapGrid[b.snapGrid.length - 1]) && b.snapGrid.push(b.virtualSize - b.size)
                }
                0 === b.snapGrid.length && (b.snapGrid = [0]), 0 !== b.params.spaceBetween && (o() ? b.rtl ? b.slides.css({marginLeft: i + "px"}) : b.slides.css({marginRight: i + "px"}) : b.slides.css({marginBottom: i + "px"})), b.params.watchSlidesProgress && b.updateSlidesOffset()
            }, b.updateSlidesOffset = function () {
                for (var e = 0; e < b.slides.length; e++)b.slides[e].swiperSlideOffset = o() ? b.slides[e].offsetLeft : b.slides[e].offsetTop
            }, b.updateSlidesProgress = function (e) {
                if ("undefined" == typeof e && (e = b.translate || 0), 0 !== b.slides.length) {
                    "undefined" == typeof b.slides[0].swiperSlideOffset && b.updateSlidesOffset();
                    var i = -e;
                    b.rtl && (i = e), b.slides.removeClass(b.params.slideVisibleClass);
                    for (var t = 0; t < b.slides.length; t++) {
                        var a = b.slides[t], n = (i - a.swiperSlideOffset) / (a.swiperSlideSize + b.params.spaceBetween);
                        if (b.params.watchSlidesVisibility) {
                            var o = -(i - a.swiperSlideOffset), s = o + b.slidesSizesGrid[t], r = o >= 0 && o < b.size || s > 0 && s <= b.size || 0 >= o && s >= b.size;
                            r && b.slides.eq(t).addClass(b.params.slideVisibleClass)
                        }
                        a.progress = b.rtl ? -n : n
                    }
                }
            }, b.updateProgress = function (e) {
                "undefined" == typeof e && (e = b.translate || 0);
                var i = b.maxTranslate() - b.minTranslate(), t = b.isBeginning, a = b.isEnd;
                0 === i ? (b.progress = 0, b.isBeginning = b.isEnd = !0) : (b.progress = (e - b.minTranslate()) / i, b.isBeginning = b.progress <= 0, b.isEnd = b.progress >= 1), b.isBeginning && !t && b.emit("onReachBeginning", b), b.isEnd && !a && b.emit("onReachEnd", b), b.params.watchSlidesProgress && b.updateSlidesProgress(e), b.emit("onProgress", b, b.progress)
            }, b.updateActiveIndex = function () {
                var e, i, t, a = b.rtl ? b.translate : -b.translate;
                for (i = 0; i < b.slidesGrid.length; i++)"undefined" != typeof b.slidesGrid[i + 1] ? a >= b.slidesGrid[i] && a < b.slidesGrid[i + 1] - (b.slidesGrid[i + 1] - b.slidesGrid[i]) / 2 ? e = i : a >= b.slidesGrid[i] && a < b.slidesGrid[i + 1] && (e = i + 1) : a >= b.slidesGrid[i] && (e = i);
                (0 > e || "undefined" == typeof e) && (e = 0), t = Math.floor(e / b.params.slidesPerGroup), t >= b.snapGrid.length && (t = b.snapGrid.length - 1), e !== b.activeIndex && (b.snapIndex = t, b.previousIndex = b.activeIndex, b.activeIndex = e, b.updateClasses())
            }, b.updateClasses = function () {
                b.slides.removeClass(b.params.slideActiveClass + " " + b.params.slideNextClass + " " + b.params.slidePrevClass);
                var e = b.slides.eq(b.activeIndex);
                if (e.addClass(b.params.slideActiveClass), e.next("." + b.params.slideClass).addClass(b.params.slideNextClass), e.prev("." + b.params.slideClass).addClass(b.params.slidePrevClass), b.bullets && b.bullets.length > 0) {
                    b.bullets.removeClass(b.params.bulletActiveClass);
                    var t;
                    b.params.loop ? (t = Math.ceil(b.activeIndex - b.loopedSlides) / b.params.slidesPerGroup, t > b.slides.length - 1 - 2 * b.loopedSlides && (t -= b.slides.length - 2 * b.loopedSlides), t > b.bullets.length - 1 && (t -= b.bullets.length)) : t = "undefined" != typeof b.snapIndex ? b.snapIndex : b.activeIndex || 0, b.paginationContainer.length > 1 ? b.bullets.each(function () {
                        i(this).index() === t && i(this).addClass(b.params.bulletActiveClass)
                    }) : b.bullets.eq(t).addClass(b.params.bulletActiveClass)
                }
                b.params.loop || (b.params.prevButton && (b.isBeginning ? (i(b.params.prevButton).addClass(b.params.buttonDisabledClass), b.params.a11y && b.a11y && b.a11y.disable(i(b.params.prevButton))) : (i(b.params.prevButton).removeClass(b.params.buttonDisabledClass), b.params.a11y && b.a11y && b.a11y.enable(i(b.params.prevButton)))), b.params.nextButton && (b.isEnd ? (i(b.params.nextButton).addClass(b.params.buttonDisabledClass), b.params.a11y && b.a11y && b.a11y.disable(i(b.params.nextButton))) : (i(b.params.nextButton).removeClass(b.params.buttonDisabledClass), b.params.a11y && b.a11y && b.a11y.enable(i(b.params.nextButton)))))
            }, b.updatePagination = function () {
                if (b.params.pagination && b.paginationContainer && b.paginationContainer.length > 0) {
                    for (var e = "", i = b.params.loop ? Math.ceil((b.slides.length - 2 * b.loopedSlides) / b.params.slidesPerGroup) : b.snapGrid.length, t = 0; i > t; t++)e += b.params.paginationBulletRender ? b.params.paginationBulletRender(t, b.params.bulletClass) : "<" + b.params.paginationElement + ' class="' + b.params.bulletClass + '"></' + b.params.paginationElement + ">";
                    b.paginationContainer.html(e), b.bullets = b.paginationContainer.find("." + b.params.bulletClass), b.params.paginationClickable && b.params.a11y && b.a11y && b.a11y.initPagination()
                }
            }, b.update = function (e) {
                function i() {
                    a = Math.min(Math.max(b.translate, b.maxTranslate()), b.minTranslate()), b.setWrapperTranslate(a), b.updateActiveIndex(), b.updateClasses()
                }

                if (b.updateContainerSize(), b.updateSlidesSize(), b.updateProgress(), b.updatePagination(), b.updateClasses(), b.params.scrollbar && b.scrollbar && b.scrollbar.set(), e) {
                    var t, a;
                    b.controller && b.controller.spline && (b.controller.spline = void 0), b.params.freeMode ? (i(), b.params.autoHeight && b.updateAutoHeight()) : (t = ("auto" === b.params.slidesPerView || b.params.slidesPerView > 1) && b.isEnd && !b.params.centeredSlides ? b.slideTo(b.slides.length - 1, 0, !1, !0) : b.slideTo(b.activeIndex, 0, !1, !0), t || i())
                } else b.params.autoHeight && b.updateAutoHeight()
            }, b.onResize = function (e) {
                b.params.breakpoints && b.setBreakpoint();
                var i = b.params.allowSwipeToPrev, t = b.params.allowSwipeToNext;
                if (b.params.allowSwipeToPrev = b.params.allowSwipeToNext = !0, b.updateContainerSize(), b.updateSlidesSize(), ("auto" === b.params.slidesPerView || b.params.freeMode || e) && b.updatePagination(), b.params.scrollbar && b.scrollbar && b.scrollbar.set(), b.controller && b.controller.spline && (b.controller.spline = void 0), b.params.freeMode) {
                    var a = Math.min(Math.max(b.translate, b.maxTranslate()), b.minTranslate());
                    b.setWrapperTranslate(a), b.updateActiveIndex(), b.updateClasses(), b.params.autoHeight && b.updateAutoHeight()
                } else b.updateClasses(), ("auto" === b.params.slidesPerView || b.params.slidesPerView > 1) && b.isEnd && !b.params.centeredSlides ? b.slideTo(b.slides.length - 1, 0, !1, !0) : b.slideTo(b.activeIndex, 0, !1, !0);
                b.params.allowSwipeToPrev = i, b.params.allowSwipeToNext = t
            };
            var x = ["mousedown", "mousemove", "mouseup"];
            window.navigator.pointerEnabled ? x = ["pointerdown", "pointermove", "pointerup"] : window.navigator.msPointerEnabled && (x = ["MSPointerDown", "MSPointerMove", "MSPointerUp"]), b.touchEvents = {
                start: b.support.touch || !b.params.simulateTouch ? "touchstart" : x[0],
                move: b.support.touch || !b.params.simulateTouch ? "touchmove" : x[1],
                end: b.support.touch || !b.params.simulateTouch ? "touchend" : x[2]
            }, (window.navigator.pointerEnabled || window.navigator.msPointerEnabled) && ("container" === b.params.touchEventsTarget ? b.container : b.wrapper).addClass("swiper-wp8-" + b.params.direction), b.initEvents = function (e) {
                var t = e ? "off" : "on", a = e ? "removeEventListener" : "addEventListener", o = "container" === b.params.touchEventsTarget ? b.container[0] : b.wrapper[0], s = b.support.touch ? o : document, r = b.params.nested ? !0 : !1;
                b.browser.ie ? (o[a](b.touchEvents.start, b.onTouchStart, !1), s[a](b.touchEvents.move, b.onTouchMove, r), s[a](b.touchEvents.end, b.onTouchEnd, !1)) : (b.support.touch && (o[a](b.touchEvents.start, b.onTouchStart, !1), o[a](b.touchEvents.move, b.onTouchMove, r), o[a](b.touchEvents.end, b.onTouchEnd, !1)), !n.simulateTouch || b.device.ios || b.device.android || (o[a]("mousedown", b.onTouchStart, !1), document[a]("mousemove", b.onTouchMove, r), document[a]("mouseup", b.onTouchEnd, !1))), window[a]("resize", b.onResize), b.params.nextButton && (i(b.params.nextButton)[t]("click", b.onClickNext), b.params.a11y && b.a11y && i(b.params.nextButton)[t]("keydown", b.a11y.onEnterKey)), b.params.prevButton && (i(b.params.prevButton)[t]("click", b.onClickPrev), b.params.a11y && b.a11y && i(b.params.prevButton)[t]("keydown", b.a11y.onEnterKey)), b.params.pagination && b.params.paginationClickable && (i(b.paginationContainer)[t]("click", "." + b.params.bulletClass, b.onClickIndex), b.params.a11y && b.a11y && i(b.paginationContainer)[t]("keydown", "." + b.params.bulletClass, b.a11y.onEnterKey)), (b.params.preventClicks || b.params.preventClicksPropagation) && o[a]("click", b.preventClicks, !0)
            }, b.attachEvents = function (e) {
                b.initEvents()
            }, b.detachEvents = function () {
                b.initEvents(!0)
            }, b.allowClick = !0, b.preventClicks = function (e) {
                b.allowClick || (b.params.preventClicks && e.preventDefault(), b.params.preventClicksPropagation && b.animating && (e.stopPropagation(), e.stopImmediatePropagation()))
            }, b.onClickNext = function (e) {
                e.preventDefault(), (!b.isEnd || b.params.loop) && b.slideNext()
            }, b.onClickPrev = function (e) {
                e.preventDefault(), (!b.isBeginning || b.params.loop) && b.slidePrev()
            }, b.onClickIndex = function (e) {
                e.preventDefault();
                var t = i(this).index() * b.params.slidesPerGroup;
                b.params.loop && (t += b.loopedSlides), b.slideTo(t)
            }, b.updateClickedSlide = function (e) {
                var t = l(e, "." + b.params.slideClass), a = !1;
                if (t)for (var n = 0; n < b.slides.length; n++)b.slides[n] === t && (a = !0);
                if (!t || !a)return b.clickedSlide = void 0, void(b.clickedIndex = void 0);
                if (b.clickedSlide = t, b.clickedIndex = i(t).index(), b.params.slideToClickedSlide && void 0 !== b.clickedIndex && b.clickedIndex !== b.activeIndex) {
                    var o, s = b.clickedIndex;
                    if (b.params.loop) {
                        if (b.animating)return;
                        o = i(b.clickedSlide).attr("data-swiper-slide-index"), b.params.centeredSlides ? s < b.loopedSlides - b.params.slidesPerView / 2 || s > b.slides.length - b.loopedSlides + b.params.slidesPerView / 2 ? (b.fixLoop(), s = b.wrapper.children("." + b.params.slideClass + '[data-swiper-slide-index="' + o + '"]:not(.swiper-slide-duplicate)').eq(0).index(), setTimeout(function () {
                            b.slideTo(s)
                        }, 0)) : b.slideTo(s) : s > b.slides.length - b.params.slidesPerView ? (b.fixLoop(), s = b.wrapper.children("." + b.params.slideClass + '[data-swiper-slide-index="' + o + '"]:not(.swiper-slide-duplicate)').eq(0).index(), setTimeout(function () {
                            b.slideTo(s)
                        }, 0)) : b.slideTo(s)
                    } else b.slideTo(s)
                }
            };
            var k, S, T, P, C, j, $, L, I, D, z = "input, select, textarea, button", A = Date.now(), E = [];
            b.animating = !1, b.touches = {startX: 0, startY: 0, currentX: 0, currentY: 0, diff: 0};
            var B, M;
            if (b.onTouchStart = function (e) {
                    if (e.originalEvent && (e = e.originalEvent), B = "touchstart" === e.type, B || !("which" in e) || 3 !== e.which) {
                        if (b.params.noSwiping && l(e, "." + b.params.noSwipingClass))return void(b.allowClick = !0);
                        if (!b.params.swipeHandler || l(e, b.params.swipeHandler)) {
                            var t = b.touches.currentX = "touchstart" === e.type ? e.targetTouches[0].pageX : e.pageX, a = b.touches.currentY = "touchstart" === e.type ? e.targetTouches[0].pageY : e.pageY;
                            if (!(b.device.ios && b.params.iOSEdgeSwipeDetection && t <= b.params.iOSEdgeSwipeThreshold)) {
                                if (k = !0, S = !1, T = !0, C = void 0, M = void 0, b.touches.startX = t, b.touches.startY = a, P = Date.now(), b.allowClick = !0, b.updateContainerSize(), b.swipeDirection = void 0, b.params.threshold > 0 && (L = !1), "touchstart" !== e.type) {
                                    var n = !0;
                                    i(e.target).is(z) && (n = !1), document.activeElement && i(document.activeElement).is(z) && document.activeElement.blur(), n && e.preventDefault()
                                }
                                b.emit("onTouchStart", b, e)
                            }
                        }
                    }
                }, b.onTouchMove = function (e) {
                    if (e.originalEvent && (e = e.originalEvent), !(B && "mousemove" === e.type || e.preventedByNestedSwiper)) {
                        if (b.params.onlyExternal)return b.allowClick = !1, void(k && (b.touches.startX = b.touches.currentX = "touchmove" === e.type ? e.targetTouches[0].pageX : e.pageX, b.touches.startY = b.touches.currentY = "touchmove" === e.type ? e.targetTouches[0].pageY : e.pageY, P = Date.now()));
                        if (B && document.activeElement && e.target === document.activeElement && i(e.target).is(z))return S = !0, void(b.allowClick = !1);
                        if (T && b.emit("onTouchMove", b, e), !(e.targetTouches && e.targetTouches.length > 1)) {
                            if (b.touches.currentX = "touchmove" === e.type ? e.targetTouches[0].pageX : e.pageX, b.touches.currentY = "touchmove" === e.type ? e.targetTouches[0].pageY : e.pageY, "undefined" == typeof C) {
                                var t = 180 * Math.atan2(Math.abs(b.touches.currentY - b.touches.startY), Math.abs(b.touches.currentX - b.touches.startX)) / Math.PI;
                                C = o() ? t > b.params.touchAngle : 90 - t > b.params.touchAngle
                            }
                            if (C && b.emit("onTouchMoveOpposite", b, e), "undefined" == typeof M && b.browser.ieTouch && (b.touches.currentX !== b.touches.startX || b.touches.currentY !== b.touches.startY) && (M = !0), k) {
                                if (C)return void(k = !1);
                                if (M || !b.browser.ieTouch) {
                                    b.allowClick = !1, b.emit("onSliderMove", b, e), e.preventDefault(), b.params.touchMoveStopPropagation && !b.params.nested && e.stopPropagation(), S || (n.loop && b.fixLoop(), $ = b.getWrapperTranslate(), b.setWrapperTransition(0), b.animating && b.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"), b.params.autoplay && b.autoplaying && (b.params.autoplayDisableOnInteraction ? b.stopAutoplay() : b.pauseAutoplay()), D = !1, b.params.grabCursor && (b.container[0].style.cursor = "move", b.container[0].style.cursor = "-webkit-grabbing", b.container[0].style.cursor = "-moz-grabbin", b.container[0].style.cursor = "grabbing")), S = !0;
                                    var a = b.touches.diff = o() ? b.touches.currentX - b.touches.startX : b.touches.currentY - b.touches.startY;
                                    a *= b.params.touchRatio, b.rtl && (a = -a), b.swipeDirection = a > 0 ? "prev" : "next", j = a + $;
                                    var s = !0;
                                    if (a > 0 && j > b.minTranslate() ? (s = !1, b.params.resistance && (j = b.minTranslate() - 1 + Math.pow(-b.minTranslate() + $ + a, b.params.resistanceRatio))) : 0 > a && j < b.maxTranslate() && (s = !1, b.params.resistance && (j = b.maxTranslate() + 1 - Math.pow(b.maxTranslate() - $ - a, b.params.resistanceRatio))), s && (e.preventedByNestedSwiper = !0), !b.params.allowSwipeToNext && "next" === b.swipeDirection && $ > j && (j = $), !b.params.allowSwipeToPrev && "prev" === b.swipeDirection && j > $ && (j = $), b.params.followFinger) {
                                        if (b.params.threshold > 0) {
                                            if (!(Math.abs(a) > b.params.threshold || L))return void(j = $);
                                            if (!L)return L = !0, b.touches.startX = b.touches.currentX, b.touches.startY = b.touches.currentY, j = $, void(b.touches.diff = o() ? b.touches.currentX - b.touches.startX : b.touches.currentY - b.touches.startY)
                                        }
                                        (b.params.freeMode || b.params.watchSlidesProgress) && b.updateActiveIndex(), b.params.freeMode && (0 === E.length && E.push({
                                            position: b.touches[o() ? "startX" : "startY"],
                                            time: P
                                        }), E.push({
                                            position: b.touches[o() ? "currentX" : "currentY"],
                                            time: (new window.Date).getTime()
                                        })), b.updateProgress(j), b.setWrapperTranslate(j)
                                    }
                                }
                            }
                        }
                    }
                }, b.onTouchEnd = function (e) {
                    if (e.originalEvent && (e = e.originalEvent), T && b.emit("onTouchEnd", b, e), T = !1, k) {
                        b.params.grabCursor && S && k && (b.container[0].style.cursor = "move", b.container[0].style.cursor = "-webkit-grab", b.container[0].style.cursor = "-moz-grab", b.container[0].style.cursor = "grab");
                        var t = Date.now(), a = t - P;
                        if (b.allowClick && (b.updateClickedSlide(e), b.emit("onTap", b, e), 300 > a && t - A > 300 && (I && clearTimeout(I), I = setTimeout(function () {
                                b && (b.params.paginationHide && b.paginationContainer.length > 0 && !i(e.target).hasClass(b.params.bulletClass) && b.paginationContainer.toggleClass(b.params.paginationHiddenClass), b.emit("onClick", b, e))
                            }, 300)), 300 > a && 300 > t - A && (I && clearTimeout(I), b.emit("onDoubleTap", b, e))), A = Date.now(), setTimeout(function () {
                                b && (b.allowClick = !0)
                            }, 0), !k || !S || !b.swipeDirection || 0 === b.touches.diff || j === $)return void(k = S = !1);
                        k = S = !1;
                        var n;
                        if (n = b.params.followFinger ? b.rtl ? b.translate : -b.translate : -j, b.params.freeMode) {
                            if (n < -b.minTranslate())return void b.slideTo(b.activeIndex);
                            if (n > -b.maxTranslate())return void(b.slides.length < b.snapGrid.length ? b.slideTo(b.snapGrid.length - 1) : b.slideTo(b.slides.length - 1));
                            if (b.params.freeModeMomentum) {
                                if (E.length > 1) {
                                    var o = E.pop(), s = E.pop(), r = o.position - s.position, l = o.time - s.time;
                                    b.velocity = r / l, b.velocity = b.velocity / 2, Math.abs(b.velocity) < b.params.freeModeMinimumVelocity && (b.velocity = 0), (l > 150 || (new window.Date).getTime() - o.time > 300) && (b.velocity = 0)
                                } else b.velocity = 0;
                                E.length = 0;
                                var c = 1e3 * b.params.freeModeMomentumRatio, d = b.velocity * c, p = b.translate + d;
                                b.rtl && (p = -p);
                                var h, u = !1, f = 20 * Math.abs(b.velocity) * b.params.freeModeMomentumBounceRatio;
                                if (p < b.maxTranslate())b.params.freeModeMomentumBounce ? (p + b.maxTranslate() < -f && (p = b.maxTranslate() - f), h = b.maxTranslate(), u = !0, D = !0) : p = b.maxTranslate(); else if (p > b.minTranslate())b.params.freeModeMomentumBounce ? (p - b.minTranslate() > f && (p = b.minTranslate() + f), h = b.minTranslate(), u = !0, D = !0) : p = b.minTranslate(); else if (b.params.freeModeSticky) {
                                    var m, g = 0;
                                    for (g = 0; g < b.snapGrid.length; g += 1)if (b.snapGrid[g] > -p) {
                                        m = g;
                                        break
                                    }
                                    p = Math.abs(b.snapGrid[m] - p) < Math.abs(b.snapGrid[m - 1] - p) || "next" === b.swipeDirection ? b.snapGrid[m] : b.snapGrid[m - 1], b.rtl || (p = -p)
                                }
                                if (0 !== b.velocity)c = b.rtl ? Math.abs((-p - b.translate) / b.velocity) : Math.abs((p - b.translate) / b.velocity); else if (b.params.freeModeSticky)return void b.slideReset();
                                b.params.freeModeMomentumBounce && u ? (b.updateProgress(h), b.setWrapperTransition(c), b.setWrapperTranslate(p), b.onTransitionStart(), b.animating = !0, b.wrapper.transitionEnd(function () {
                                    b && D && (b.emit("onMomentumBounce", b), b.setWrapperTransition(b.params.speed), b.setWrapperTranslate(h), b.wrapper.transitionEnd(function () {
                                        b && b.onTransitionEnd()
                                    }))
                                })) : b.velocity ? (b.updateProgress(p), b.setWrapperTransition(c), b.setWrapperTranslate(p), b.onTransitionStart(), b.animating || (b.animating = !0, b.wrapper.transitionEnd(function () {
                                    b && b.onTransitionEnd()
                                }))) : b.updateProgress(p), b.updateActiveIndex()
                            }
                            return void((!b.params.freeModeMomentum || a >= b.params.longSwipesMs) && (b.updateProgress(), b.updateActiveIndex()))
                        }
                        var v, w = 0, _ = b.slidesSizesGrid[0];
                        for (v = 0; v < b.slidesGrid.length; v += b.params.slidesPerGroup)"undefined" != typeof b.slidesGrid[v + b.params.slidesPerGroup] ? n >= b.slidesGrid[v] && n < b.slidesGrid[v + b.params.slidesPerGroup] && (w = v, _ = b.slidesGrid[v + b.params.slidesPerGroup] - b.slidesGrid[v]) : n >= b.slidesGrid[v] && (w = v, _ = b.slidesGrid[b.slidesGrid.length - 1] - b.slidesGrid[b.slidesGrid.length - 2]);
                        var y = (n - b.slidesGrid[w]) / _;
                        if (a > b.params.longSwipesMs) {
                            if (!b.params.longSwipes)return void b.slideTo(b.activeIndex);
                            "next" === b.swipeDirection && (y >= b.params.longSwipesRatio ? b.slideTo(w + b.params.slidesPerGroup) : b.slideTo(w)), "prev" === b.swipeDirection && (y > 1 - b.params.longSwipesRatio ? b.slideTo(w + b.params.slidesPerGroup) : b.slideTo(w))
                        } else {
                            if (!b.params.shortSwipes)return void b.slideTo(b.activeIndex);
                            "next" === b.swipeDirection && b.slideTo(w + b.params.slidesPerGroup), "prev" === b.swipeDirection && b.slideTo(w)
                        }
                    }
                }, b._slideTo = function (e, i) {
                    return b.slideTo(e, i, !0, !0)
                }, b.slideTo = function (e, i, t, a) {
                    "undefined" == typeof t && (t = !0), "undefined" == typeof e && (e = 0), 0 > e && (e = 0), b.snapIndex = Math.floor(e / b.params.slidesPerGroup), b.snapIndex >= b.snapGrid.length && (b.snapIndex = b.snapGrid.length - 1);
                    var n = -b.snapGrid[b.snapIndex];
                    b.params.autoplay && b.autoplaying && (a || !b.params.autoplayDisableOnInteraction ? b.pauseAutoplay(i) : b.stopAutoplay()), b.updateProgress(n);
                    for (var o = 0; o < b.slidesGrid.length; o++)-Math.floor(100 * n) >= Math.floor(100 * b.slidesGrid[o]) && (e = o);
                    return !b.params.allowSwipeToNext && n < b.translate && n < b.minTranslate() ? !1 : !b.params.allowSwipeToPrev && n > b.translate && n > b.maxTranslate() && (b.activeIndex || 0) !== e ? !1 : ("undefined" == typeof i && (i = b.params.speed), b.previousIndex = b.activeIndex || 0, b.activeIndex = e, b.rtl && -n === b.translate || !b.rtl && n === b.translate ? (b.params.autoHeight && b.updateAutoHeight(), b.updateClasses(), "slide" !== b.params.effect && b.setWrapperTranslate(n), !1) : (b.updateClasses(), b.onTransitionStart(t), 0 === i ? (b.setWrapperTranslate(n), b.setWrapperTransition(0), b.onTransitionEnd(t)) : (b.setWrapperTranslate(n), b.setWrapperTransition(i), b.animating || (b.animating = !0, b.wrapper.transitionEnd(function () {
                        b && b.onTransitionEnd(t)
                    }))), !0))
                }, b.onTransitionStart = function (e) {
                    "undefined" == typeof e && (e = !0), b.params.autoHeight && b.updateAutoHeight(), b.lazy && b.lazy.onTransitionStart(), e && (b.emit("onTransitionStart", b), b.activeIndex !== b.previousIndex && (b.emit("onSlideChangeStart", b), b.activeIndex > b.previousIndex ? b.emit("onSlideNextStart", b) : b.emit("onSlidePrevStart", b)))
                }, b.onTransitionEnd = function (e) {
                    b.animating = !1, b.setWrapperTransition(0), "undefined" == typeof e && (e = !0), b.lazy && b.lazy.onTransitionEnd(), e && (b.emit("onTransitionEnd", b), b.activeIndex !== b.previousIndex && (b.emit("onSlideChangeEnd", b), b.activeIndex > b.previousIndex ? b.emit("onSlideNextEnd", b) : b.emit("onSlidePrevEnd", b))), b.params.hashnav && b.hashnav && b.hashnav.setHash()
                }, b.slideNext = function (e, i, t) {
                    if (b.params.loop) {
                        if (b.animating)return !1;
                        b.fixLoop();
                        b.container[0].clientLeft;
                        return b.slideTo(b.activeIndex + b.params.slidesPerGroup, i, e, t)
                    }
                    return b.slideTo(b.activeIndex + b.params.slidesPerGroup, i, e, t)
                }, b._slideNext = function (e) {
                    return b.slideNext(!0, e, !0)
                }, b.slidePrev = function (e, i, t) {
                    if (b.params.loop) {
                        if (b.animating)return !1;
                        b.fixLoop();
                        b.container[0].clientLeft;
                        return b.slideTo(b.activeIndex - 1, i, e, t)
                    }
                    return b.slideTo(b.activeIndex - 1, i, e, t)
                }, b._slidePrev = function (e) {
                    return b.slidePrev(!0, e, !0)
                }, b.slideReset = function (e, i, t) {
                    return b.slideTo(b.activeIndex, i, e)
                }, b.setWrapperTransition = function (e, i) {
                    b.wrapper.transition(e), "slide" !== b.params.effect && b.effects[b.params.effect] && b.effects[b.params.effect].setTransition(e), b.params.parallax && b.parallax && b.parallax.setTransition(e), b.params.scrollbar && b.scrollbar && b.scrollbar.setTransition(e), b.params.control && b.controller && b.controller.setTransition(e, i), b.emit("onSetTransition", b, e)
                }, b.setWrapperTranslate = function (e, i, t) {
                    var a = 0, n = 0, r = 0;
                    o() ? a = b.rtl ? -e : e : n = e, b.params.roundLengths && (a = s(a), n = s(n)), b.params.virtualTranslate || (b.support.transforms3d ? b.wrapper.transform("translate3d(" + a + "px, " + n + "px, " + r + "px)") : b.wrapper.transform("translate(" + a + "px, " + n + "px)")), b.translate = o() ? a : n;
                    var l, c = b.maxTranslate() - b.minTranslate();
                    l = 0 === c ? 0 : (e - b.minTranslate()) / c, l !== b.progress && b.updateProgress(e), i && b.updateActiveIndex(), "slide" !== b.params.effect && b.effects[b.params.effect] && b.effects[b.params.effect].setTranslate(b.translate), b.params.parallax && b.parallax && b.parallax.setTranslate(b.translate), b.params.scrollbar && b.scrollbar && b.scrollbar.setTranslate(b.translate), b.params.control && b.controller && b.controller.setTranslate(b.translate, t), b.emit("onSetTranslate", b, b.translate)
                }, b.getTranslate = function (e, i) {
                    var t, a, n, o;
                    return "undefined" == typeof i && (i = "x"), b.params.virtualTranslate ? b.rtl ? -b.translate : b.translate : (n = window.getComputedStyle(e, null), window.WebKitCSSMatrix ? (a = n.transform || n.webkitTransform, a.split(",").length > 6 && (a = a.split(", ").map(function (e) {
                        return e.replace(",", ".")
                    }).join(", ")), o = new window.WebKitCSSMatrix("none" === a ? "" : a)) : (o = n.MozTransform || n.OTransform || n.MsTransform || n.msTransform || n.transform || n.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), t = o.toString().split(",")), "x" === i && (a = window.WebKitCSSMatrix ? o.m41 : 16 === t.length ? parseFloat(t[12]) : parseFloat(t[4])), "y" === i && (a = window.WebKitCSSMatrix ? o.m42 : 16 === t.length ? parseFloat(t[13]) : parseFloat(t[5])), b.rtl && a && (a = -a), a || 0)
                }, b.getWrapperTranslate = function (e) {
                    return "undefined" == typeof e && (e = o() ? "x" : "y"), b.getTranslate(b.wrapper[0], e)
                }, b.observers = [], b.initObservers = function () {
                    if (b.params.observeParents)for (var e = b.container.parents(), i = 0; i < e.length; i++)c(e[i]);
                    c(b.container[0], {childList: !1}), c(b.wrapper[0], {attributes: !1})
                }, b.disconnectObservers = function () {
                    for (var e = 0; e < b.observers.length; e++)b.observers[e].disconnect();
                    b.observers = []
                }, b.createLoop = function () {
                    b.wrapper.children("." + b.params.slideClass + "." + b.params.slideDuplicateClass).remove();
                    var e = b.wrapper.children("." + b.params.slideClass);
                    "auto" !== b.params.slidesPerView || b.params.loopedSlides || (b.params.loopedSlides = e.length), b.loopedSlides = parseInt(b.params.loopedSlides || b.params.slidesPerView, 10), b.loopedSlides = b.loopedSlides + b.params.loopAdditionalSlides, b.loopedSlides > e.length && (b.loopedSlides = e.length);
                    var t, a = [], n = [];
                    for (e.each(function (t, o) {
                        var s = i(this);
                        t < b.loopedSlides && n.push(o), t < e.length && t >= e.length - b.loopedSlides && a.push(o), s.attr("data-swiper-slide-index", t)
                    }), t = 0; t < n.length; t++)b.wrapper.append(i(n[t].cloneNode(!0)).addClass(b.params.slideDuplicateClass));
                    for (t = a.length - 1; t >= 0; t--)b.wrapper.prepend(i(a[t].cloneNode(!0)).addClass(b.params.slideDuplicateClass))
                }, b.destroyLoop = function () {
                    b.wrapper.children("." + b.params.slideClass + "." + b.params.slideDuplicateClass).remove(), b.slides.removeAttr("data-swiper-slide-index")
                }, b.fixLoop = function () {
                    var e;
                    b.activeIndex < b.loopedSlides ? (e = b.slides.length - 3 * b.loopedSlides + b.activeIndex, e += b.loopedSlides, b.slideTo(e, 0, !1, !0)) : ("auto" === b.params.slidesPerView && b.activeIndex >= 2 * b.loopedSlides || b.activeIndex > b.slides.length - 2 * b.params.slidesPerView) && (e = -b.slides.length + b.activeIndex + b.loopedSlides, e += b.loopedSlides, b.slideTo(e, 0, !1, !0))
                }, b.appendSlide = function (e) {
                    if (b.params.loop && b.destroyLoop(), "object" == typeof e && e.length)for (var i = 0; i < e.length; i++)e[i] && b.wrapper.append(e[i]); else b.wrapper.append(e);
                    b.params.loop && b.createLoop(), b.params.observer && b.support.observer || b.update(!0)
                }, b.prependSlide = function (e) {
                    b.params.loop && b.destroyLoop();
                    var i = b.activeIndex + 1;
                    if ("object" == typeof e && e.length) {
                        for (var t = 0; t < e.length; t++)e[t] && b.wrapper.prepend(e[t]);
                        i = b.activeIndex + e.length
                    } else b.wrapper.prepend(e);
                    b.params.loop && b.createLoop(), b.params.observer && b.support.observer || b.update(!0), b.slideTo(i, 0, !1)
                }, b.removeSlide = function (e) {
                    b.params.loop && (b.destroyLoop(), b.slides = b.wrapper.children("." + b.params.slideClass));
                    var i, t = b.activeIndex;
                    if ("object" == typeof e && e.length) {
                        for (var a = 0; a < e.length; a++)i = e[a], b.slides[i] && b.slides.eq(i).remove(), t > i && t--;
                        t = Math.max(t, 0)
                    } else i = e, b.slides[i] && b.slides.eq(i).remove(), t > i && t--, t = Math.max(t, 0);
                    b.params.loop && b.createLoop(), b.params.observer && b.support.observer || b.update(!0), b.params.loop ? b.slideTo(t + b.loopedSlides, 0, !1) : b.slideTo(t, 0, !1)
                }, b.removeAllSlides = function () {
                    for (var e = [], i = 0; i < b.slides.length; i++)e.push(i);
                    b.removeSlide(e)
                }, b.effects = {
                    fade: {
                        setTranslate: function () {
                            for (var e = 0; e < b.slides.length; e++) {
                                var i = b.slides.eq(e), t = i[0].swiperSlideOffset, a = -t;
                                b.params.virtualTranslate || (a -= b.translate);
                                var n = 0;
                                o() || (n = a, a = 0);
                                var s = b.params.fade.crossFade ? Math.max(1 - Math.abs(i[0].progress), 0) : 1 + Math.min(Math.max(i[0].progress, -1), 0);
                                i.css({opacity: s}).transform("translate3d(" + a + "px, " + n + "px, 0px)")
                            }
                        }, setTransition: function (e) {
                            if (b.slides.transition(e), b.params.virtualTranslate && 0 !== e) {
                                var i = !1;
                                b.slides.transitionEnd(function () {
                                    if (!i && b) {
                                        i = !0, b.animating = !1;
                                        for (var e = ["webkitTransitionEnd", "transitionend", "oTransitionEnd", "MSTransitionEnd", "msTransitionEnd"], t = 0; t < e.length; t++)b.wrapper.trigger(e[t])
                                    }
                                })
                            }
                        }
                    }, cube: {
                        setTranslate: function () {
                            var e, t = 0;
                            b.params.cube.shadow && (o() ? (e = b.wrapper.find(".swiper-cube-shadow"), 0 === e.length && (e = i('<div class="swiper-cube-shadow"></div>'), b.wrapper.append(e)), e.css({height: b.width + "px"})) : (e = b.container.find(".swiper-cube-shadow"), 0 === e.length && (e = i('<div class="swiper-cube-shadow"></div>'), b.container.append(e))));
                            for (var a = 0; a < b.slides.length; a++) {
                                var n = b.slides.eq(a), s = 90 * a, r = Math.floor(s / 360);
                                b.rtl && (s = -s, r = Math.floor(-s / 360));
                                var l = Math.max(Math.min(n[0].progress, 1), -1), c = 0, d = 0, p = 0;
                                a % 4 === 0 ? (c = 4 * -r * b.size, p = 0) : (a - 1) % 4 === 0 ? (c = 0, p = 4 * -r * b.size) : (a - 2) % 4 === 0 ? (c = b.size + 4 * r * b.size, p = b.size) : (a - 3) % 4 === 0 && (c = -b.size, p = 3 * b.size + 4 * b.size * r), b.rtl && (c = -c), o() || (d = c, c = 0);
                                var h = "rotateX(" + (o() ? 0 : -s) + "deg) rotateY(" + (o() ? s : 0) + "deg) translate3d(" + c + "px, " + d + "px, " + p + "px)";
                                if (1 >= l && l > -1 && (t = 90 * a + 90 * l, b.rtl && (t = 90 * -a - 90 * l)), n.transform(h), b.params.cube.slideShadows) {
                                    var u = o() ? n.find(".swiper-slide-shadow-left") : n.find(".swiper-slide-shadow-top"), f = o() ? n.find(".swiper-slide-shadow-right") : n.find(".swiper-slide-shadow-bottom");
                                    0 === u.length && (u = i('<div class="swiper-slide-shadow-' + (o() ? "left" : "top") + '"></div>'), n.append(u)), 0 === f.length && (f = i('<div class="swiper-slide-shadow-' + (o() ? "right" : "bottom") + '"></div>'), n.append(f));
                                    n[0].progress;
                                    u.length && (u[0].style.opacity = -n[0].progress), f.length && (f[0].style.opacity = n[0].progress)
                                }
                            }
                            if (b.wrapper.css({
                                    "-webkit-transform-origin": "50% 50% -" + b.size / 2 + "px",
                                    "-moz-transform-origin": "50% 50% -" + b.size / 2 + "px",
                                    "-ms-transform-origin": "50% 50% -" + b.size / 2 + "px",
                                    "transform-origin": "50% 50% -" + b.size / 2 + "px"
                                }), b.params.cube.shadow)if (o())e.transform("translate3d(0px, " + (b.width / 2 + b.params.cube.shadowOffset) + "px, " + -b.width / 2 + "px) rotateX(90deg) rotateZ(0deg) scale(" + b.params.cube.shadowScale + ")"); else {
                                var m = Math.abs(t) - 90 * Math.floor(Math.abs(t) / 90), g = 1.5 - (Math.sin(2 * m * Math.PI / 360) / 2 + Math.cos(2 * m * Math.PI / 360) / 2), v = b.params.cube.shadowScale, w = b.params.cube.shadowScale / g, _ = b.params.cube.shadowOffset;
                                e.transform("scale3d(" + v + ", 1, " + w + ") translate3d(0px, " + (b.height / 2 + _) + "px, " + -b.height / 2 / w + "px) rotateX(-90deg)")
                            }
                            var y = b.isSafari || b.isUiWebView ? -b.size / 2 : 0;
                            b.wrapper.transform("translate3d(0px,0," + y + "px) rotateX(" + (o() ? 0 : t) + "deg) rotateY(" + (o() ? -t : 0) + "deg)")
                        }, setTransition: function (e) {
                            b.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), b.params.cube.shadow && !o() && b.container.find(".swiper-cube-shadow").transition(e)
                        }
                    }, coverflow: {
                        setTranslate: function () {
                            for (var e = b.translate, t = o() ? -e + b.width / 2 : -e + b.height / 2, a = o() ? b.params.coverflow.rotate : -b.params.coverflow.rotate, n = b.params.coverflow.depth, s = 0, r = b.slides.length; r > s; s++) {
                                var l = b.slides.eq(s), c = b.slidesSizesGrid[s], d = l[0].swiperSlideOffset, p = (t - d - c / 2) / c * b.params.coverflow.modifier, h = o() ? a * p : 0, u = o() ? 0 : a * p, f = -n * Math.abs(p), m = o() ? 0 : b.params.coverflow.stretch * p, g = o() ? b.params.coverflow.stretch * p : 0;
                                Math.abs(g) < .001 && (g = 0), Math.abs(m) < .001 && (m = 0), Math.abs(f) < .001 && (f = 0), Math.abs(h) < .001 && (h = 0), Math.abs(u) < .001 && (u = 0);
                                var v = "translate3d(" + g + "px," + m + "px," + f + "px)  rotateX(" + u + "deg) rotateY(" + h + "deg)";
                                if (l.transform(v), l[0].style.zIndex = -Math.abs(Math.round(p)) + 1, b.params.coverflow.slideShadows) {
                                    var w = o() ? l.find(".swiper-slide-shadow-left") : l.find(".swiper-slide-shadow-top"), _ = o() ? l.find(".swiper-slide-shadow-right") : l.find(".swiper-slide-shadow-bottom");
                                    0 === w.length && (w = i('<div class="swiper-slide-shadow-' + (o() ? "left" : "top") + '"></div>'), l.append(w)), 0 === _.length && (_ = i('<div class="swiper-slide-shadow-' + (o() ? "right" : "bottom") + '"></div>'), l.append(_)), w.length && (w[0].style.opacity = p > 0 ? p : 0), _.length && (_[0].style.opacity = -p > 0 ? -p : 0)
                                }
                            }
                            if (b.browser.ie) {
                                var y = b.wrapper[0].style;
                                y.perspectiveOrigin = t + "px 50%"
                            }
                        }, setTransition: function (e) {
                            b.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)
                        }
                    }
                }, b.lazy = {
                    initialImageLoaded: !1, loadImageInSlide: function (e, t) {
                        if ("undefined" != typeof e && ("undefined" == typeof t && (t = !0), 0 !== b.slides.length)) {
                            var a = b.slides.eq(e), n = a.find(".swiper-lazy:not(.swiper-lazy-loaded):not(.swiper-lazy-loading)");
                            !a.hasClass("swiper-lazy") || a.hasClass("swiper-lazy-loaded") || a.hasClass("swiper-lazy-loading") || (n = n.add(a[0])), 0 !== n.length && n.each(function () {
                                var e = i(this);
                                e.addClass("swiper-lazy-loading");
                                var n = e.attr("data-background"), o = e.attr("data-src"), s = e.attr("data-srcset");
                                b.loadImage(e[0], o || n, s, !1, function () {
                                    if (n ? (e.css("background-image", "url(" + n + ")"), e.removeAttr("data-background")) : (s && (e.attr("srcset", s), e.removeAttr("data-srcset")), o && (e.attr("src", o), e.removeAttr("data-src"))), e.addClass("swiper-lazy-loaded").removeClass("swiper-lazy-loading"), a.find(".swiper-lazy-preloader, .preloader").remove(), b.params.loop && t) {
                                        var i = a.attr("data-swiper-slide-index");
                                        if (a.hasClass(b.params.slideDuplicateClass)) {
                                            var r = b.wrapper.children('[data-swiper-slide-index="' + i + '"]:not(.' + b.params.slideDuplicateClass + ")");
                                            b.lazy.loadImageInSlide(r.index(), !1)
                                        } else {
                                            var l = b.wrapper.children("." + b.params.slideDuplicateClass + '[data-swiper-slide-index="' + i + '"]');
                                            b.lazy.loadImageInSlide(l.index(), !1)
                                        }
                                    }
                                    b.emit("onLazyImageReady", b, a[0], e[0])
                                }), b.emit("onLazyImageLoad", b, a[0], e[0])
                            })
                        }
                    }, load: function () {
                        var e;
                        if (b.params.watchSlidesVisibility)b.wrapper.children("." + b.params.slideVisibleClass).each(function () {
                            b.lazy.loadImageInSlide(i(this).index())
                        }); else if (b.params.slidesPerView > 1)for (e = b.activeIndex; e < b.activeIndex + b.params.slidesPerView; e++)b.slides[e] && b.lazy.loadImageInSlide(e); else b.lazy.loadImageInSlide(b.activeIndex);
                        if (b.params.lazyLoadingInPrevNext)if (b.params.slidesPerView > 1) {
                            for (e = b.activeIndex + b.params.slidesPerView; e < b.activeIndex + b.params.slidesPerView + b.params.slidesPerView; e++)b.slides[e] && b.lazy.loadImageInSlide(e);
                            for (e = b.activeIndex - b.params.slidesPerView; e < b.activeIndex; e++)b.slides[e] && b.lazy.loadImageInSlide(e)
                        } else {
                            var t = b.wrapper.children("." + b.params.slideNextClass);
                            t.length > 0 && b.lazy.loadImageInSlide(t.index());
                            var a = b.wrapper.children("." + b.params.slidePrevClass);
                            a.length > 0 && b.lazy.loadImageInSlide(a.index())
                        }
                    }, onTransitionStart: function () {
                        b.params.lazyLoading && (b.params.lazyLoadingOnTransitionStart || !b.params.lazyLoadingOnTransitionStart && !b.lazy.initialImageLoaded) && b.lazy.load()
                    }, onTransitionEnd: function () {
                        b.params.lazyLoading && !b.params.lazyLoadingOnTransitionStart && b.lazy.load()
                    }
                }, b.scrollbar = {
                    isTouched: !1, setDragPosition: function (e) {
                        var i = b.scrollbar, t = o() ? "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].pageX : e.pageX || e.clientX : "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].pageY : e.pageY || e.clientY, a = t - i.track.offset()[o() ? "left" : "top"] - i.dragSize / 2, n = -b.minTranslate() * i.moveDivider, s = -b.maxTranslate() * i.moveDivider;
                        n > a ? a = n : a > s && (a = s), a = -a / i.moveDivider, b.updateProgress(a), b.setWrapperTranslate(a, !0)
                    }, dragStart: function (e) {
                        var i = b.scrollbar;
                        i.isTouched = !0, e.preventDefault(), e.stopPropagation(), i.setDragPosition(e), clearTimeout(i.dragTimeout), i.track.transition(0), b.params.scrollbarHide && i.track.css("opacity", 1), b.wrapper.transition(100), i.drag.transition(100), b.emit("onScrollbarDragStart", b)
                    }, dragMove: function (e) {
                        var i = b.scrollbar;
                        i.isTouched && (e.preventDefault ? e.preventDefault() : e.returnValue = !1, i.setDragPosition(e), b.wrapper.transition(0), i.track.transition(0), i.drag.transition(0), b.emit("onScrollbarDragMove", b))
                    }, dragEnd: function (e) {
                        var i = b.scrollbar;
                        i.isTouched && (i.isTouched = !1, b.params.scrollbarHide && (clearTimeout(i.dragTimeout), i.dragTimeout = setTimeout(function () {
                            i.track.css("opacity", 0), i.track.transition(400)
                        }, 1e3)), b.emit("onScrollbarDragEnd", b), b.params.scrollbarSnapOnRelease && b.slideReset())
                    }, enableDraggable: function () {
                        var e = b.scrollbar, t = b.support.touch ? e.track : document;
                        i(e.track).on(b.touchEvents.start, e.dragStart), i(t).on(b.touchEvents.move, e.dragMove), i(t).on(b.touchEvents.end, e.dragEnd)
                    }, disableDraggable: function () {
                        var e = b.scrollbar, t = b.support.touch ? e.track : document;
                        i(e.track).off(b.touchEvents.start, e.dragStart), i(t).off(b.touchEvents.move, e.dragMove), i(t).off(b.touchEvents.end, e.dragEnd)
                    }, set: function () {
                        if (b.params.scrollbar) {
                            var e = b.scrollbar;
                            e.track = i(b.params.scrollbar), e.drag = e.track.find(".swiper-scrollbar-drag"), 0 === e.drag.length && (e.drag = i('<div class="swiper-scrollbar-drag"></div>'), e.track.append(e.drag)), e.drag[0].style.width = "", e.drag[0].style.height = "", e.trackSize = o() ? e.track[0].offsetWidth : e.track[0].offsetHeight, e.divider = b.size / b.virtualSize, e.moveDivider = e.divider * (e.trackSize / b.size), e.dragSize = e.trackSize * e.divider, o() ? e.drag[0].style.width = e.dragSize + "px" : e.drag[0].style.height = e.dragSize + "px", e.divider >= 1 ? e.track[0].style.display = "none" : e.track[0].style.display = "", b.params.scrollbarHide && (e.track[0].style.opacity = 0)
                        }
                    }, setTranslate: function () {
                        if (b.params.scrollbar) {
                            var e, i = b.scrollbar, t = (b.translate || 0, i.dragSize);
                            e = (i.trackSize - i.dragSize) * b.progress, b.rtl && o() ? (e = -e, e > 0 ? (t = i.dragSize - e, e = 0) : -e + i.dragSize > i.trackSize && (t = i.trackSize + e)) : 0 > e ? (t = i.dragSize + e, e = 0) : e + i.dragSize > i.trackSize && (t = i.trackSize - e), o() ? (b.support.transforms3d ? i.drag.transform("translate3d(" + e + "px, 0, 0)") : i.drag.transform("translateX(" + e + "px)"), i.drag[0].style.width = t + "px") : (b.support.transforms3d ? i.drag.transform("translate3d(0px, " + e + "px, 0)") : i.drag.transform("translateY(" + e + "px)"), i.drag[0].style.height = t + "px"), b.params.scrollbarHide && (clearTimeout(i.timeout), i.track[0].style.opacity = 1, i.timeout = setTimeout(function () {
                                i.track[0].style.opacity = 0, i.track.transition(400)
                            }, 1e3))
                        }
                    }, setTransition: function (e) {
                        b.params.scrollbar && b.scrollbar.drag.transition(e)
                    }
                }, b.controller = {
                    LinearSpline: function (e, i) {
                        this.x = e, this.y = i, this.lastIndex = e.length - 1;
                        var t, a;
                        this.x.length;
                        this.interpolate = function (e) {
                            return e ? (a = n(this.x, e), t = a - 1, (e - this.x[t]) * (this.y[a] - this.y[t]) / (this.x[a] - this.x[t]) + this.y[t]) : 0
                        };
                        var n = function () {
                            var e, i, t;
                            return function (a, n) {
                                for (i = -1, e = a.length; e - i > 1;)a[t = e + i >> 1] <= n ? i = t : e = t;
                                return e
                            }
                        }()
                    }, getInterpolateFunction: function (e) {
                        b.controller.spline || (b.controller.spline = b.params.loop ? new b.controller.LinearSpline(b.slidesGrid, e.slidesGrid) : new b.controller.LinearSpline(b.snapGrid, e.snapGrid))
                    }, setTranslate: function (e, i) {
                        function a(i) {
                            e = i.rtl && "horizontal" === i.params.direction ? -b.translate : b.translate, "slide" === b.params.controlBy && (b.controller.getInterpolateFunction(i), o = -b.controller.spline.interpolate(-e)), o && "container" !== b.params.controlBy || (n = (i.maxTranslate() - i.minTranslate()) / (b.maxTranslate() - b.minTranslate()), o = (e - b.minTranslate()) * n + i.minTranslate()), b.params.controlInverse && (o = i.maxTranslate() - o), i.updateProgress(o), i.setWrapperTranslate(o, !1, b), i.updateActiveIndex()
                        }

                        var n, o, s = b.params.control;
                        if (b.isArray(s))for (var r = 0; r < s.length; r++)s[r] !== i && s[r] instanceof t && a(s[r]); else s instanceof t && i !== s && a(s)
                    }, setTransition: function (e, i) {
                        function a(i) {
                            i.setWrapperTransition(e, b), 0 !== e && (i.onTransitionStart(), i.wrapper.transitionEnd(function () {
                                o && (i.params.loop && "slide" === b.params.controlBy && i.fixLoop(), i.onTransitionEnd())
                            }))
                        }

                        var n, o = b.params.control;
                        if (b.isArray(o))for (n = 0; n < o.length; n++)o[n] !== i && o[n] instanceof t && a(o[n]); else o instanceof t && i !== o && a(o)
                    }
                }, b.hashnav = {
                    init: function () {
                        if (b.params.hashnav) {
                            b.hashnav.initialized = !0;
                            var e = document.location.hash.replace("#", "");
                            if (e)for (var i = 0, t = 0, a = b.slides.length; a > t; t++) {
                                var n = b.slides.eq(t), o = n.attr("data-hash");
                                if (o === e && !n.hasClass(b.params.slideDuplicateClass)) {
                                    var s = n.index();
                                    b.slideTo(s, i, b.params.runCallbacksOnInit, !0)
                                }
                            }
                        }
                    }, setHash: function () {
                        b.hashnav.initialized && b.params.hashnav && (document.location.hash = b.slides.eq(b.activeIndex).attr("data-hash") || "")
                    }
                }, b.disableKeyboardControl = function () {
                    b.params.keyboardControl = !1, i(document).off("keydown", d)
                }, b.enableKeyboardControl = function () {
                    b.params.keyboardControl = !0, i(document).on("keydown", d)
                }, b.mousewheel = {
                    event: !1,
                    lastScrollTime: (new window.Date).getTime()
                }, b.params.mousewheelControl) {
                try {
                    new window.WheelEvent("wheel"), b.mousewheel.event = "wheel"
                } catch (N) {
                }
                b.mousewheel.event || void 0 === document.onmousewheel || (b.mousewheel.event = "mousewheel"), b.mousewheel.event || (b.mousewheel.event = "DOMMouseScroll")
            }
            b.disableMousewheelControl = function () {
                return b.mousewheel.event ? (b.container.off(b.mousewheel.event, p), !0) : !1
            }, b.enableMousewheelControl = function () {
                return b.mousewheel.event ? (b.container.on(b.mousewheel.event, p), !0) : !1
            }, b.parallax = {
                setTranslate: function () {
                    b.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function () {
                        h(this, b.progress)
                    }), b.slides.each(function () {
                        var e = i(this);
                        e.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function () {
                            var i = Math.min(Math.max(e[0].progress, -1), 1);
                            h(this, i)
                        })
                    })
                }, setTransition: function (e) {
                    "undefined" == typeof e && (e = b.params.speed), b.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function () {
                        var t = i(this), a = parseInt(t.attr("data-swiper-parallax-duration"), 10) || e;
                        0 === e && (a = 0), t.transition(a)
                    })
                }
            }, b._plugins = [];
            for (var O in b.plugins) {
                var R = b.plugins[O](b, b.params[O]);
                R && b._plugins.push(R)
            }
            return b.callPlugins = function (e) {
                for (var i = 0; i < b._plugins.length; i++)e in b._plugins[i] && b._plugins[i][e](arguments[1], arguments[2], arguments[3], arguments[4], arguments[5])
            }, b.emitterEventListeners = {}, b.emit = function (e) {
                b.params[e] && b.params[e](arguments[1], arguments[2], arguments[3], arguments[4], arguments[5]);
                var i;
                if (b.emitterEventListeners[e])for (i = 0; i < b.emitterEventListeners[e].length; i++)b.emitterEventListeners[e][i](arguments[1], arguments[2], arguments[3], arguments[4], arguments[5]);
                b.callPlugins && b.callPlugins(e, arguments[1], arguments[2], arguments[3], arguments[4], arguments[5])
            }, b.on = function (e, i) {
                return e = u(e), b.emitterEventListeners[e] || (b.emitterEventListeners[e] = []), b.emitterEventListeners[e].push(i), b
            }, b.off = function (e, i) {
                var t;
                if (e = u(e), "undefined" == typeof i)return b.emitterEventListeners[e] = [], b;
                if (b.emitterEventListeners[e] && 0 !== b.emitterEventListeners[e].length) {
                    for (t = 0; t < b.emitterEventListeners[e].length; t++)b.emitterEventListeners[e][t] === i && b.emitterEventListeners[e].splice(t, 1);
                    return b
                }
            }, b.once = function (e, i) {
                e = u(e);
                var t = function () {
                    i(arguments[0], arguments[1], arguments[2], arguments[3], arguments[4]), b.off(e, t)
                };
                return b.on(e, t), b
            }, b.a11y = {
                makeFocusable: function (e) {
                    return e.attr("tabIndex", "0"), e
                },
                addRole: function (e, i) {
                    return e.attr("role", i), e
                },
                addLabel: function (e, i) {
                    return e.attr("aria-label", i), e
                },
                disable: function (e) {
                    return e.attr("aria-disabled", !0), e
                },
                enable: function (e) {
                    return e.attr("aria-disabled", !1), e
                },
                onEnterKey: function (e) {
                    13 === e.keyCode && (i(e.target).is(b.params.nextButton) ? (b.onClickNext(e), b.isEnd ? b.a11y.notify(b.params.lastSlideMessage) : b.a11y.notify(b.params.nextSlideMessage)) : i(e.target).is(b.params.prevButton) && (b.onClickPrev(e), b.isBeginning ? b.a11y.notify(b.params.firstSlideMessage) : b.a11y.notify(b.params.prevSlideMessage)), i(e.target).is("." + b.params.bulletClass) && i(e.target)[0].click())
                },
                liveRegion: i('<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>'),
                notify: function (e) {
                    var i = b.a11y.liveRegion;
                    0 !== i.length && (i.html(""), i.html(e))
                },
                init: function () {
                    if (b.params.nextButton) {
                        var e = i(b.params.nextButton);
                        b.a11y.makeFocusable(e), b.a11y.addRole(e, "button"), b.a11y.addLabel(e, b.params.nextSlideMessage)
                    }
                    if (b.params.prevButton) {
                        var t = i(b.params.prevButton);
                        b.a11y.makeFocusable(t), b.a11y.addRole(t, "button"), b.a11y.addLabel(t, b.params.prevSlideMessage)
                    }
                    i(b.container).append(b.a11y.liveRegion)
                },
                initPagination: function () {
                    b.params.pagination && b.params.paginationClickable && b.bullets && b.bullets.length && b.bullets.each(function () {
                        var e = i(this);
                        b.a11y.makeFocusable(e), b.a11y.addRole(e, "button"), b.a11y.addLabel(e, b.params.paginationBulletMessage.replace(/{{index}}/, e.index() + 1))
                    })
                },
                destroy: function () {
                    b.a11y.liveRegion && b.a11y.liveRegion.length > 0 && b.a11y.liveRegion.remove()
                }
            }, b.init = function () {
                b.params.loop && b.createLoop(), b.updateContainerSize(), b.updateSlidesSize(), b.updatePagination(), b.params.scrollbar && b.scrollbar && (b.scrollbar.set(), b.params.scrollbarDraggable && b.scrollbar.enableDraggable()), "slide" !== b.params.effect && b.effects[b.params.effect] && (b.params.loop || b.updateProgress(), b.effects[b.params.effect].setTranslate()), b.params.loop ? b.slideTo(b.params.initialSlide + b.loopedSlides, 0, b.params.runCallbacksOnInit) : (b.slideTo(b.params.initialSlide, 0, b.params.runCallbacksOnInit), 0 === b.params.initialSlide && (b.parallax && b.params.parallax && b.parallax.setTranslate(), b.lazy && b.params.lazyLoading && (b.lazy.load(), b.lazy.initialImageLoaded = !0))), b.attachEvents(), b.params.observer && b.support.observer && b.initObservers(), b.params.preloadImages && !b.params.lazyLoading && b.preloadImages(), b.params.autoplay && b.startAutoplay(), b.params.keyboardControl && b.enableKeyboardControl && b.enableKeyboardControl(), b.params.mousewheelControl && b.enableMousewheelControl && b.enableMousewheelControl(), b.params.hashnav && b.hashnav && b.hashnav.init(), b.params.a11y && b.a11y && b.a11y.init(), b.emit("onInit", b)
            }, b.cleanupStyles = function () {
                b.container.removeClass(b.classNames.join(" ")).removeAttr("style"), b.wrapper.removeAttr("style"), b.slides && b.slides.length && b.slides.removeClass([b.params.slideVisibleClass, b.params.slideActiveClass, b.params.slideNextClass, b.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"), b.paginationContainer && b.paginationContainer.length && b.paginationContainer.removeClass(b.params.paginationHiddenClass), b.bullets && b.bullets.length && b.bullets.removeClass(b.params.bulletActiveClass), b.params.prevButton && i(b.params.prevButton).removeClass(b.params.buttonDisabledClass), b.params.nextButton && i(b.params.nextButton).removeClass(b.params.buttonDisabledClass), b.params.scrollbar && b.scrollbar && (b.scrollbar.track && b.scrollbar.track.length && b.scrollbar.track.removeAttr("style"), b.scrollbar.drag && b.scrollbar.drag.length && b.scrollbar.drag.removeAttr("style"))
            }, b.destroy = function (e, i) {
                b.detachEvents(), b.stopAutoplay(), b.params.scrollbar && b.scrollbar && b.params.scrollbarDraggable && b.scrollbar.disableDraggable(), b.params.loop && b.destroyLoop(), i && b.cleanupStyles(), b.disconnectObservers(), b.params.keyboardControl && b.disableKeyboardControl && b.disableKeyboardControl(), b.params.mousewheelControl && b.disableMousewheelControl && b.disableMousewheelControl(), b.params.a11y && b.a11y && b.a11y.destroy(), b.emit("onDestroy"), e !== !1 && (b = null)
            }, b.init(), b
        }
    };
    t.prototype = {
        isSafari: function () {
            var e = navigator.userAgent.toLowerCase();
            return e.indexOf("safari") >= 0 && e.indexOf("chrome") < 0 && e.indexOf("android") < 0
        }(),
        isUiWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),
        isArray: function (e) {
            return "[object Array]" === Object.prototype.toString.apply(e)
        },
        browser: {
            ie: window.navigator.pointerEnabled || window.navigator.msPointerEnabled,
            ieTouch: window.navigator.msPointerEnabled && window.navigator.msMaxTouchPoints > 1 || window.navigator.pointerEnabled && window.navigator.maxTouchPoints > 1
        },
        device: function () {
            var e = navigator.userAgent, i = e.match(/(Android);?[\s\/]+([\d.]+)?/), t = e.match(/(iPad).*OS\s([\d_]+)/), a = e.match(/(iPod)(.*OS\s([\d_]+))?/), n = !t && e.match(/(iPhone\sOS)\s([\d_]+)/);
            return {ios: t || n || a, android: i}
        }(),
        support: {
            touch: window.Modernizr && Modernizr.touch === !0 || function () {
                return !!("ontouchstart" in window || window.DocumentTouch && document instanceof DocumentTouch)
            }(), transforms3d: window.Modernizr && Modernizr.csstransforms3d === !0 || function () {
                var e = document.createElement("div").style;
                return "webkitPerspective" in e || "MozPerspective" in e || "OPerspective" in e || "MsPerspective" in e || "perspective" in e
            }(), flexbox: function () {
                for (var e = document.createElement("div").style, i = "alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "), t = 0; t < i.length; t++)if (i[t] in e)return !0
            }(), observer: function () {
                return "MutationObserver" in window || "WebkitMutationObserver" in window
            }()
        },
        plugins: {}
    };
    for (var a = (function () {
        var e = function (e) {
            var i = this, t = 0;
            for (t = 0; t < e.length; t++)i[t] = e[t];
            return i.length = e.length, this
        }, i = function (i, t) {
            var a = [], n = 0;
            if (i && !t && i instanceof e)return i;
            if (i)if ("string" == typeof i) {
                var o, s, r = i.trim();
                if (r.indexOf("<") >= 0 && r.indexOf(">") >= 0) {
                    var l = "div";
                    for (0 === r.indexOf("<li") && (l = "ul"), 0 === r.indexOf("<tr") && (l = "tbody"), (0 === r.indexOf("<td") || 0 === r.indexOf("<th")) && (l = "tr"), 0 === r.indexOf("<tbody") && (l = "table"), 0 === r.indexOf("<option") && (l = "select"), s = document.createElement(l), s.innerHTML = i, n = 0; n < s.childNodes.length; n++)a.push(s.childNodes[n])
                } else for (o = t || "#" !== i[0] || i.match(/[ .<>:~]/) ? (t || document).querySelectorAll(i) : [document.getElementById(i.split("#")[1])], n = 0; n < o.length; n++)o[n] && a.push(o[n])
            } else if (i.nodeType || i === window || i === document)a.push(i); else if (i.length > 0 && i[0].nodeType)for (n = 0; n < i.length; n++)a.push(i[n]);
            return new e(a)
        };
        return e.prototype = {
            addClass: function (e) {
                if ("undefined" == typeof e)return this;
                for (var i = e.split(" "), t = 0; t < i.length; t++)for (var a = 0; a < this.length; a++)this[a].classList.add(i[t]);
                return this
            }, removeClass: function (e) {
                for (var i = e.split(" "), t = 0; t < i.length; t++)for (var a = 0; a < this.length; a++)this[a].classList.remove(i[t]);
                return this
            }, hasClass: function (e) {
                return this[0] ? this[0].classList.contains(e) : !1
            }, toggleClass: function (e) {
                for (var i = e.split(" "), t = 0; t < i.length; t++)for (var a = 0; a < this.length; a++)this[a].classList.toggle(i[t]);
                return this
            }, attr: function (e, i) {
                if (1 === arguments.length && "string" == typeof e)return this[0] ? this[0].getAttribute(e) : void 0;
                for (var t = 0; t < this.length; t++)if (2 === arguments.length)this[t].setAttribute(e, i); else for (var a in e)this[t][a] = e[a], this[t].setAttribute(a, e[a]);
                return this
            }, removeAttr: function (e) {
                for (var i = 0; i < this.length; i++)this[i].removeAttribute(e);
                return this
            }, data: function (e, i) {
                if ("undefined" == typeof i) {
                    if (this[0]) {
                        var t = this[0].getAttribute("data-" + e);
                        return t ? t : this[0].dom7ElementDataStorage && e in this[0].dom7ElementDataStorage ? this[0].dom7ElementDataStorage[e] : void 0
                    }
                    return void 0
                }
                for (var a = 0; a < this.length; a++) {
                    var n = this[a];
                    n.dom7ElementDataStorage || (n.dom7ElementDataStorage = {}), n.dom7ElementDataStorage[e] = i
                }
                return this
            }, transform: function (e) {
                for (var i = 0; i < this.length; i++) {
                    var t = this[i].style;
                    t.webkitTransform = t.MsTransform = t.msTransform = t.MozTransform = t.OTransform = t.transform = e
                }
                return this
            }, transition: function (e) {
                "string" != typeof e && (e += "ms");
                for (var i = 0; i < this.length; i++) {
                    var t = this[i].style;
                    t.webkitTransitionDuration = t.MsTransitionDuration = t.msTransitionDuration = t.MozTransitionDuration = t.OTransitionDuration = t.transitionDuration = e
                }
                return this
            }, on: function (e, t, a, n) {
                function o(e) {
                    var n = e.target;
                    if (i(n).is(t))a.call(n, e); else for (var o = i(n).parents(), s = 0; s < o.length; s++)i(o[s]).is(t) && a.call(o[s], e)
                }

                var s, r, l = e.split(" ");
                for (s = 0; s < this.length; s++)if ("function" == typeof t || t === !1)for ("function" == typeof t && (a = arguments[1], n = arguments[2] || !1), r = 0; r < l.length; r++)this[s].addEventListener(l[r], a, n); else for (r = 0; r < l.length; r++)this[s].dom7LiveListeners || (this[s].dom7LiveListeners = []), this[s].dom7LiveListeners.push({
                    listener: a,
                    liveListener: o
                }), this[s].addEventListener(l[r], o, n);
                return this
            }, off: function (e, i, t, a) {
                for (var n = e.split(" "), o = 0; o < n.length; o++)for (var s = 0; s < this.length; s++)if ("function" == typeof i || i === !1)"function" == typeof i && (t = arguments[1], a = arguments[2] || !1), this[s].removeEventListener(n[o], t, a); else if (this[s].dom7LiveListeners)for (var r = 0; r < this[s].dom7LiveListeners.length; r++)this[s].dom7LiveListeners[r].listener === t && this[s].removeEventListener(n[o], this[s].dom7LiveListeners[r].liveListener, a);
                return this
            }, once: function (e, i, t, a) {
                function n(s) {
                    t(s),
                        o.off(e, i, n, a)
                }

                var o = this;
                "function" == typeof i && (i = !1, t = arguments[1], a = arguments[2]), o.on(e, i, n, a)
            }, trigger: function (e, i) {
                for (var t = 0; t < this.length; t++) {
                    var a;
                    try {
                        a = new window.CustomEvent(e, {detail: i, bubbles: !0, cancelable: !0})
                    } catch (n) {
                        a = document.createEvent("Event"), a.initEvent(e, !0, !0), a.detail = i
                    }
                    this[t].dispatchEvent(a)
                }
                return this
            }, transitionEnd: function (e) {
                function i(o) {
                    if (o.target === this)for (e.call(this, o), t = 0; t < a.length; t++)n.off(a[t], i)
                }

                var t, a = ["webkitTransitionEnd", "transitionend", "oTransitionEnd", "MSTransitionEnd", "msTransitionEnd"], n = this;
                if (e)for (t = 0; t < a.length; t++)n.on(a[t], i);
                return this
            }, width: function () {
                return this[0] === window ? window.innerWidth : this.length > 0 ? parseFloat(this.css("width")) : null
            }, outerWidth: function (e) {
                return this.length > 0 ? e ? this[0].offsetWidth + parseFloat(this.css("margin-right")) + parseFloat(this.css("margin-left")) : this[0].offsetWidth : null
            }, height: function () {
                return this[0] === window ? window.innerHeight : this.length > 0 ? parseFloat(this.css("height")) : null
            }, outerHeight: function (e) {
                return this.length > 0 ? e ? this[0].offsetHeight + parseFloat(this.css("margin-top")) + parseFloat(this.css("margin-bottom")) : this[0].offsetHeight : null
            }, offset: function () {
                if (this.length > 0) {
                    var e = this[0], i = e.getBoundingClientRect(), t = document.body, a = e.clientTop || t.clientTop || 0, n = e.clientLeft || t.clientLeft || 0, o = window.pageYOffset || e.scrollTop, s = window.pageXOffset || e.scrollLeft;
                    return {top: i.top + o - a, left: i.left + s - n}
                }
                return null
            }, css: function (e, i) {
                var t;
                if (1 === arguments.length) {
                    if ("string" != typeof e) {
                        for (t = 0; t < this.length; t++)for (var a in e)this[t].style[a] = e[a];
                        return this
                    }
                    if (this[0])return window.getComputedStyle(this[0], null).getPropertyValue(e)
                }
                if (2 === arguments.length && "string" == typeof e) {
                    for (t = 0; t < this.length; t++)this[t].style[e] = i;
                    return this
                }
                return this
            }, each: function (e) {
                for (var i = 0; i < this.length; i++)e.call(this[i], i, this[i]);
                return this
            }, html: function (e) {
                if ("undefined" == typeof e)return this[0] ? this[0].innerHTML : void 0;
                for (var i = 0; i < this.length; i++)this[i].innerHTML = e;
                return this
            }, is: function (t) {
                if (!this[0])return !1;
                var a, n;
                if ("string" == typeof t) {
                    var o = this[0];
                    if (o === document)return t === document;
                    if (o === window)return t === window;
                    if (o.matches)return o.matches(t);
                    if (o.webkitMatchesSelector)return o.webkitMatchesSelector(t);
                    if (o.mozMatchesSelector)return o.mozMatchesSelector(t);
                    if (o.msMatchesSelector)return o.msMatchesSelector(t);
                    for (a = i(t), n = 0; n < a.length; n++)if (a[n] === this[0])return !0;
                    return !1
                }
                if (t === document)return this[0] === document;
                if (t === window)return this[0] === window;
                if (t.nodeType || t instanceof e) {
                    for (a = t.nodeType ? [t] : t, n = 0; n < a.length; n++)if (a[n] === this[0])return !0;
                    return !1
                }
                return !1
            }, index: function () {
                if (this[0]) {
                    for (var e = this[0], i = 0; null !== (e = e.previousSibling);)1 === e.nodeType && i++;
                    return i
                }
                return void 0
            }, eq: function (i) {
                if ("undefined" == typeof i)return this;
                var t, a = this.length;
                return i > a - 1 ? new e([]) : 0 > i ? (t = a + i, new e(0 > t ? [] : [this[t]])) : new e([this[i]])
            }, append: function (i) {
                var t, a;
                for (t = 0; t < this.length; t++)if ("string" == typeof i) {
                    var n = document.createElement("div");
                    for (n.innerHTML = i; n.firstChild;)this[t].appendChild(n.firstChild)
                } else if (i instanceof e)for (a = 0; a < i.length; a++)this[t].appendChild(i[a]); else this[t].appendChild(i);
                return this
            }, prepend: function (i) {
                var t, a;
                for (t = 0; t < this.length; t++)if ("string" == typeof i) {
                    var n = document.createElement("div");
                    for (n.innerHTML = i, a = n.childNodes.length - 1; a >= 0; a--)this[t].insertBefore(n.childNodes[a], this[t].childNodes[0])
                } else if (i instanceof e)for (a = 0; a < i.length; a++)this[t].insertBefore(i[a], this[t].childNodes[0]); else this[t].insertBefore(i, this[t].childNodes[0]);
                return this
            }, insertBefore: function (e) {
                for (var t = i(e), a = 0; a < this.length; a++)if (1 === t.length)t[0].parentNode.insertBefore(this[a], t[0]); else if (t.length > 1)for (var n = 0; n < t.length; n++)t[n].parentNode.insertBefore(this[a].cloneNode(!0), t[n])
            }, insertAfter: function (e) {
                for (var t = i(e), a = 0; a < this.length; a++)if (1 === t.length)t[0].parentNode.insertBefore(this[a], t[0].nextSibling); else if (t.length > 1)for (var n = 0; n < t.length; n++)t[n].parentNode.insertBefore(this[a].cloneNode(!0), t[n].nextSibling)
            }, next: function (t) {
                return new e(this.length > 0 ? t ? this[0].nextElementSibling && i(this[0].nextElementSibling).is(t) ? [this[0].nextElementSibling] : [] : this[0].nextElementSibling ? [this[0].nextElementSibling] : [] : [])
            }, nextAll: function (t) {
                var a = [], n = this[0];
                if (!n)return new e([]);
                for (; n.nextElementSibling;) {
                    var o = n.nextElementSibling;
                    t ? i(o).is(t) && a.push(o) : a.push(o), n = o
                }
                return new e(a)
            }, prev: function (t) {
                return new e(this.length > 0 ? t ? this[0].previousElementSibling && i(this[0].previousElementSibling).is(t) ? [this[0].previousElementSibling] : [] : this[0].previousElementSibling ? [this[0].previousElementSibling] : [] : [])
            }, prevAll: function (t) {
                var a = [], n = this[0];
                if (!n)return new e([]);
                for (; n.previousElementSibling;) {
                    var o = n.previousElementSibling;
                    t ? i(o).is(t) && a.push(o) : a.push(o), n = o
                }
                return new e(a)
            }, parent: function (e) {
                for (var t = [], a = 0; a < this.length; a++)e ? i(this[a].parentNode).is(e) && t.push(this[a].parentNode) : t.push(this[a].parentNode);
                return i(i.unique(t))
            }, parents: function (e) {
                for (var t = [], a = 0; a < this.length; a++)for (var n = this[a].parentNode; n;)e ? i(n).is(e) && t.push(n) : t.push(n), n = n.parentNode;
                return i(i.unique(t))
            }, find: function (i) {
                for (var t = [], a = 0; a < this.length; a++)for (var n = this[a].querySelectorAll(i), o = 0; o < n.length; o++)t.push(n[o]);
                return new e(t)
            }, children: function (t) {
                for (var a = [], n = 0; n < this.length; n++)for (var o = this[n].childNodes, s = 0; s < o.length; s++)t ? 1 === o[s].nodeType && i(o[s]).is(t) && a.push(o[s]) : 1 === o[s].nodeType && a.push(o[s]);
                return new e(i.unique(a))
            }, remove: function () {
                for (var e = 0; e < this.length; e++)this[e].parentNode && this[e].parentNode.removeChild(this[e]);
                return this
            }, add: function () {
                var e, t, a = this;
                for (e = 0; e < arguments.length; e++) {
                    var n = i(arguments[e]);
                    for (t = 0; t < n.length; t++)a[a.length] = n[t], a.length++
                }
                return a
            }
        }, i.fn = e.prototype, i.unique = function (e) {
            for (var i = [], t = 0; t < e.length; t++)-1 === i.indexOf(e[t]) && i.push(e[t]);
            return i
        }, i
    }()), n = ["Zepto"], o = 0; o < n.length; o++)window[n[o]] && e(window[n[o]]);
    var s;
    s = "undefined" == typeof a ? window.Dom7 || window.Zepto || window.jQuery : a, s && ("transitionEnd" in s.fn || (s.fn.transitionEnd = function (e) {
        function i(o) {
            if (o.target === this)for (e.call(this, o), t = 0; t < a.length; t++)n.off(a[t], i)
        }

        var t, a = ["webkitTransitionEnd", "transitionend", "oTransitionEnd", "MSTransitionEnd", "msTransitionEnd"], n = this;
        if (e)for (t = 0; t < a.length; t++)n.on(a[t], i);
        return this
    }), "transform" in s.fn || (s.fn.transform = function (e) {
        for (var i = 0; i < this.length; i++) {
            var t = this[i].style;
            t.webkitTransform = t.MsTransform = t.msTransform = t.MozTransform = t.OTransform = t.transform = e
        }
        return this
    }), "transition" in s.fn || (s.fn.transition = function (e) {
        "string" != typeof e && (e += "ms");
        for (var i = 0; i < this.length; i++) {
            var t = this[i].style;
            t.webkitTransitionDuration = t.MsTransitionDuration = t.msTransitionDuration = t.MozTransitionDuration = t.OTransitionDuration = t.transitionDuration = e
        }
        return this
    })), window.Swiper = t
}(), LTK["components/langPack/ms_play"] = function (e, i, t) {
    "use strict";
    e("components/com_base/global");
    var a = {
        cmt: "评论：",
        cmt2: "评论",
        thiscomm_j: "本集评论：",
        thiscomm_q: "本期评论：",
        allcomm: "全部评论：",
        smooth: "流畅",
        hd: "高清",
        uhd: "超清",
        sd: "标清",
        pre: "可试看",
        preapp: "分钟，下载乐视视频观看完整版",
        view: "播放：",
        bullet: "弹幕：",
        stars: "主演：",
        director: "导演：",
        year: "年份：",
        time: "上映日期：",
        uptime: "发布时间：",
        genre: "类型：",
        country: "国家：",
        region: "地区：",
        intro_yp: "影片简介：",
        intro_jm: "节目简介：",
        intro_xx: "详细介绍：",
        episode_st: "第",
        episode_en: "集简介：",
        master: "主持人：",
        play: "播出：",
        artist: "音乐人：",
        dub: "配音：",
        creat: "主创：",
        voice: "声优：",
        orig: "原作：",
        lecturer: "讲师：",
        suitage: "适合年龄段：",
        guest: "嘉宾：",
        list: "列表",
        rec: "推荐",
        slidemore: "横滑发现更多",
        newcomm: "最新评论",
        topcomm: "热门评论",
        change: "换一换",
        icomm: "我也说句话",
        commapp_hd: "去乐视视频APP，参与更多互动",
        nowapp: "立即使用乐视视频APP",
        uhdapptip: "使用乐视视频APP，看超清版～",
        downapptip: "使用乐视视频APP，才可下载视频～",
        sharetip: "据说10秒内分享的人，会瘦10斤哒！",
        episo: "剧集",
        episo_to: "更新至",
        episo_to_q: "更新至",
        episo_j: "集",
        episo_q: "期",
        episo_all: "/共",
        episo_jq: "集全",
        episo_qq: "期全",
        episo_new: "最新",
        item_t: "条",
        item_c: "次",
        item_w: " 万",
        item_y: " 亿",
        watch_c: "继续观看",
        watch_app: "客户端超清观看",
        daoliutip: "打开乐视视频APP，提升3倍流畅度",
        duanliutip: "3秒下载乐视视频APP",
        colp: "收起",
        download: "下载",
        share: "分享",
        le1s: "乐1s",
        le_m: "乐Max",
        le_p: "乐1Pro",
        le1: "乐1",
        le2: "乐2",
        le2_m: "乐Max2",
        le_sp: "乐视超级手机",
        goapp_s: "秒后",
        goapp_tip: "带您进入乐视视频",
        score: "分",
        errtip: "啊，服务器被修空调的偷了，获取不到数据",
        errref: "点击刷新",
        view_rk: "人看",
        watch_zp: "立即观看该正片",
        alise: "又名",
        comm_qsf: "抢沙发",
        comm_qsf_j: "本集无评论，抢沙发",
        comm_qsf2: "叫我第一名，我来抢沙发",
        comm_qsf_app: "去乐视视频APP，抢沙发",
        comm_app: "想发表观点？去乐视视频APP",
        comm_more: "去乐视视频APP，看更多犀利点评",
        video_le: "乐视自制",
        cancel: "取消",
        post: "发布",
        comm_inst: "还可以输入",
        comm_inen: "个字",
        comm_inou: "已经超出",
        comm_cf: "重复发评论内容",
        comm_in: "输入评论内容",
        comm_c: "输入评论内容过长",
        comm_d: "评论内容过短",
        comm_pf: "评论过于频繁",
        haszan: "您已赞过",
        hascai: "您已踩过",
        miss: "缺集",
        errbusy: "系統忙，請重試",
        mark_d: "，",
        danmu1: "使用［小窗］功能可看弹幕哦",
        danmu2: "1000+弹幕向你涌来,使用乐视视频APP参与弹幕大军!",
        danmu3: "弹幕太少！快使用乐视视频APP发弹幕！",
        danmu4: "您已开启弹幕",
        danmu5: "您已关闭弹幕",
        drm: "因版权方要求，请使用乐视视频APP观看",
        drm_dl: "立即使用",
        cmtsend: "发送",
        notdata: "未获取到内容",
        sharetip2: "分享给我的朋友",
        uhdtip: "使用APP"
    }, n = {
        cmt: "Comments: ",
        cmt2: "Comments",
        thiscomm_j: "This episode: ",
        thiscomm_q: "This episode: ",
        allcomm: "All episodes: ",
        change: "Refresh",
        smooth: "Smooth",
        hd: "HD",
        uhd: "UHD",
        sd: "SD",
        pre: "",
        preapp: "Watch in the Le",
        view: "Views: ",
        bullet: "Bullet screens: ",
        stars: "Cast: ",
        director: "Director: ",
        year: "Year: ",
        time: "Release date: ",
        uptime: "Date uploaded: ",
        genre: "Genre: ",
        country: "Country: ",
        region: "Region: ",
        intro_yp: "Plot: ",
        intro_jm: "Introduction: ",
        intro_xx: "Introduction: ",
        episode_st: "Summary of episode ",
        episode_en: ": ",
        master: "Host: ",
        play: "Play: ",
        artist: "Artist: ",
        dub: "Dubbing: ",
        creat: "Creator: ",
        voice: "Voice-over artist: ",
        orig: "Original: ",
        lecturer: "Lecturer: ",
        suitage: "Suitable ages: ",
        guest: "Guest: ",
        list: "Queue",
        rec: "Recommendations",
        slidemore: "more",
        newcomm: "Latest comments",
        topcomm: "Top comments",
        icomm: "Make a comment",
        commapp_hd: "Comment in the Le",
        nowapp: "Watch in the Le",
        downapptip: "You can only download this video with the Le",
        sharetip: "Share to my friends!",
        episo: "TV series",
        episo_to: "Updated to ",
        episo_to_q: "Updated on ",
        episo_j: "",
        episo_q: "",
        episo_all: " of ",
        episo_jq: " all",
        episo_qq: " all",
        episo_new: "Updated ",
        item_t: "",
        item_c: "",
        item_w: "",
        item_y: "",
        watch_c: "Continue",
        watch_app: "Watch in the Le",
        daoliutip: "Watch in the Le",
        duanliutip: "Watch in the Le",
        colp: "Collapse",
        download: "download",
        share: "share",
        le1s: "Le1s",
        le_m: "LeMax",
        le_p: "Le1Pro",
        le1: "Le1",
        le2: "Le2",
        le2_m: "LeMax2",
        le_sp: "LeMobile",
        goapp_s: "s",
        goapp_tip: " Watch this video with the Le",
        score: "",
        errtip: "Failed to obtain the data from the server",
        errref: "Tap to refresh",
        view_rk: "",
        watch_zp: "Watch feature video now",
        alise: "Also known as",
        comm_qsf: "Be the first to comment",
        comm_qsf_j: "Be the first to comment",
        comm_qsf2: "Be the first to comment",
        comm_qsf_app: "Comment in the Le",
        comm_app: "Make a comment? Go to the Le",
        comm_more: "View more comments in Le",
        video_le: "Le DIY",
        cancel: "Cancel",
        post: "Post",
        comm_inst: "",
        comm_inen: " characters",
        comm_inou: "more than ",
        comm_cf: "Duplicate comment content",
        comm_in: "Please enter comment content",
        comm_c: "Comment content is too long",
        comm_d: "Comment content is too short",
        comm_pf: "You are commenting too frequently",
        haszan: "You have already liked this video",
        hascai: "You have already unliked this video",
        miss: "miss",
        errbusy: "The system is busy. Try again",
        mark_d: ", ",
        danmu1: "View bullet comments with the [Small window] function",
        danmu2: "1000+Post your bullet comments with the Le!",
        danmu3: "Post bullet comments with the Le now!",
        danmu4: "Bullet screen is on",
        danmu5: "Bullet screen is off",
        drm: " Please watch it in Le app as requested by the copyright holder.",
        drm_dl: "Use now",
        cmtsend: "Send",
        notdata: "Did not get to the content",
        sharetip2: "Share to my friends",
        uhdapptip: "Watch it in UHD with the Le",
        uhdtip: "Use The APP"
    }, o = {
        cmt: "評論：",
        cmt2: "評論",
        thiscomm_j: "本集評論：",
        thiscomm_q: "本期評論：",
        allcomm: "全部評論：",
        smooth: "流暢",
        hd: "高清",
        uhd: "超清",
        sd: "標清",
        pre: "可試睇",
        preapp: "分鐘，下載樂視視頻觀看完整版",
        view: "播放：",
        bullet: "彈幕：",
        stars: "主演：",
        director: "導演：",
        year: "年份：",
        time: "上映日期：",
        uptime: "發佈時間：",
        genre: "類型：",
        country: "國家：",
        region: "地區：",
        intro_yp: "影片簡介：",
        intro_jm: "節目簡介：",
        intro_xx: "詳細介紹：",
        episode_st: "第",
        episode_en: "集簡介：",
        master: "主持人：",
        play: "播出：",
        artist: "音樂人：",
        dub: "配音：",
        creat: "出品人：",
        voice: "配音：",
        orig: "原作：",
        lecturer: "講師：",
        suitage: "適合年齡層：",
        guest: "嘉賓：",
        list: "列表",
        rec: "推薦",
        slidemore: "左右滑動發現更多",
        newcomm: "最新評論",
        topcomm: "熱門評論",
        change: "換一換",
        icomm: "我也講句話",
        commapp_hd: "去樂視視頻 APP，參與更多互動",
        nowapp: "立即使用樂視視頻",
        uhdapptip: "使用樂視視頻 APP，看超清版～",
        downapptip: "使用樂視視頻 APP，才可下載視頻～",
        sharetip: "據說十秒之內分享嘅人，會瘦十斤咖！",
        episo: "劇集",
        episo_to: "更新至",
        episo_to_q: "更新至",
        episo_j: "集",
        episo_q: "期",
        episo_all: "/共",
        episo_jq: "集全",
        episo_qq: " 期全",
        episo_new: "最新",
        item_t: "條",
        item_c: "次",
        item_w: " 萬",
        item_y: " 億",
        watch_c: "繼續觀看",
        watch_app: "用戶端超清觀看",
        daoliutip: "打開樂視視頻APP,提升3倍流暢度",
        duanliutip: "3 秒下載樂視視頻 APP",
        colp: "收起",
        download: "下載",
        share: "分享",
        le1s: "樂1s",
        le_m: "樂Max",
        le_p: "樂1Pro",
        le1: "樂1",
        le2: "樂2",
        le2_m: "樂Max2",
        le_sp: "樂視超級手機",
        goapp_s: "秒後",
        goapp_tip: "帶您進入樂視視頻",
        score: "分",
        errtip: "伺服器遇到問題，獲取不到數據",
        errref: "點擊重新整理",
        view_rk: "人看",
        watch_zp: "立即觀看此正片",
        alise: "别名",
        comm_qsf: "搶沙發",
        comm_qsf_j: "本集無評論，搶沙發",
        comm_qsf2: "叫我第一名，我來搶沙發",
        comm_qsf_app: "去樂視視頻 APP，搶沙發",
        comm_app: "想發表觀點？去樂視視頻 APP",
        comm_more: "去樂視視頻 APP，看更多犀利點評",
        video_le: "樂視自製",
        cancel: "取消",
        post: "發佈",
        comm_inst: "還可以輸入",
        comm_inen: "個字",
        comm_inou: "已經超出",
        comm_cf: "評論內容重複",
        comm_in: "輸入評論內容",
        comm_c: "輸入評論內容過長",
        comm_d: "評論內容過短",
        comm_pf: "評論過於頻繁",
        haszan: "您已讃過",
        hascai: "您已踩過",
        miss: "缺集",
        errbusy: "系統忙，請重試",
        mark_d: "，",
        danmu1: "使用［小窗］功能可看彈幕哦",
        danmu2: "1000+彈幕向你湧來,使用樂視視頻 APP 參與彈幕大軍!",
        danmu3: "彈幕太少！快使用樂視視頻 APP 發彈幕！",
        danmu4: "您已開啟彈幕",
        danmu5: "您已關閉彈幕",
        drm: "因版權方要求，請使用樂視視頻APP觀看",
        drm_dl: "立即使用",
        cmtsend: "傳送",
        notdata: "未獲取到內容",
        sharetip2: "分享給我的朋友",
        uhdtip: "使用APP"
    }, s = {
        init: function () {
            this.initDom(), this.initLangPack()
        }, initDom: function () {
            this.zh_cn = a, this.en_us = this.hi_in = n, this.zh_hk = o
        }, initLangPack: function () {
            info.langPack ? $.extend(info.langPack, this[info.lang] || this.zh_cn) : info.langPack = this[info.lang] || this.zh_cn
        }
    };
    s.init()
}, LTK["components/util/mUa"] = function (e, i, t) {
    "use strict";
    var a = {
        isApp: function () {
            var e = ["letvclient", "letvmobileclient", "leautocamera", "lesports", "cn.hi.wifi", "foxconn.hi.wifi"], i = this.checkInMind(e);
            return i
        }, checkInMind: function (e) {
            for (var i = e || [], t = navigator.userAgent.toLowerCase(), a = "", n = 0; n < i.length; n++)if (a = i[n], a && t.indexOf(a) > -1)return !0;
            return !1
        }
    };
    t.exports = a
}, LTK["projects/vodPlay/auto_openapp"] = function (e) {
    "use strict";
    var i = e("air/env/ua"), t = e("components/util/mUa"), a = e("components/app/callApp"), n = {
        init: function () {
            t.isApp() || window.info.openapp && (this.initDom(), this.initEvent(), this.initOpenApp())
        }, initDom: function () {
            this.lingxian = !1;
            var e = Cookie.get("autoOpenApp");
            e && !i.letvMobile ? (e = parseInt(e), this.shouldShow = 3 > e && window.info && info.openapp) : this.shouldShow = !0;
            var t = new Date, a = 23 - t.getHours(), n = 60 - t.getMinutes();
            this.cookieTime = (60 * a + n) / 60, this.mobileobj = this.leua(), this.setGuidLayer(), this.$j_countdown = $("#j_countdown"), this.$j_timer = $("#j-timer"), this.timerCount = 3
        }, initEvent: function () {
            this.clearTimer(), $("body").on("touchstart", $.proxy(this.stopScrolling, this)), $("body").on("touchmove", $.proxy(this.stopScrolling, this))
        }, initOpenApp: function () {
            var e = this, t = navigator.userAgent.toLowerCase();
            return e.mplat = i.letvMobile ? "lingxian" : i.android ? "android" : "ios", e.browser = Stats && Stats.BR ? Stats.BR : "letv", e.position = "auto", e.ischrome = i.chrome, e.islebrowser = i.letvBrowser, e.isgaosu = t.indexOf("haowangzhi") > -1, this.shouldShow ? (i.letvMobile || this.setCookie(), Stats.sendAction({
                cid: info.ptvcid,
                acode: "32",
                ap: "m2letvapp"
            }), void("lingxian" === e.mplat && !i.letvClient && e.ischrome && !e.isgaosu || "lingxian" === e.mplat && !i.letvClient && e.islebrowser && !e.isgaosu ? (this.$j_countdown.find(".layer_box").addClass("zoomIn"), this.guideTimer()) : (this._destory(), this.openApp()))) : void this._destory()
        }, _destory: function () {
            var e = this;
            0 !== e.$j_countdown.length && e.$j_countdown.remove(), $("body").off("touchstart", $.proxy(e.stopScrolling, e)), $("body").off("touchmove", $.proxy(e.stopScrolling, e))
        }, openApp: function () {
            a.call({
                daoliuConfig: {
                    isOnlyOpen: !0,
                    autoOpen: !0,
                    vid: info.vid,
                    pid: info.pid,
                    cid: info.ptvcid,
                    streamid: info.streamid,
                    from: "m_" + this.mplat + "_" + this.browser + "_" + this.position,
                    type: "play"
                }
            })
        }, closeLayer: function () {
            this.$j_countdown.hide()
        }, setGuidLayer: function () {
            var e = '<div id="j_countdown" class="play_layer"><div class="layer_box"><p class="ani loading"></p> <p class="layer_con"> <em class="layer_time"><em id="j-timer">3</em>' + info.langPack.goapp_s + '</em><em class="layer_iphone"> ' + this.mobileobj + ' </em> <em class="layer_txt">' + info.langPack.goapp_tip + "</em> </p></div></div>";
            $("body").append(e)
        }, stopScrolling: function (e) {
            e.preventDefault(), e.stopPropagation()
        }, guideTimer: function () {
            this.clearTimer(), this.timer = setInterval($.proxy(this.onTimerTick, this), 1e3)
        }, onTimerTick: function () {
            var e = this;
            this.timerCount -= 1, this.$j_timer.text(this.timerCount), this.timerCount <= 1 && (this.clearTimer(), setTimeout(function () {
                $("body").off("touchmove", $.proxy(e.stopScrolling, e)), $("body").off("touchstart", $.proxy(e.stopScrolling, e)), e.openApp(), e.closeLayer()
            }, 1e3))
        }, clearTimer: function () {
            this.timer && (clearInterval(this.timer), this.timer = null)
        }, setCookie: function () {
            var e = this.cookieTime, i = Cookie.get("autoOpenApp");
            i || (i = 0);
            var t = parseInt(i) + 1;
            Cookie.set("autoOpenApp", t, {exp: e})
        }, leua: function () {
            var e = "", i = navigator.userAgent.toLowerCase();
            return e = i.indexOf("letv x500 ") > -1 ? info.langPack.le1s : i.indexOf("x900") > -1 ? info.langPack.le_m : i.indexOf("x800") > -1 ? info.langPack.le_p : i.indexOf("x600") > -1 ? info.langPack.le1 : i.indexOf("letv x620") > -1 || i.indexOf("le x620") > -1 ? info.langPack.le2 : i.indexOf("letv x820") > -1 || i.indexOf("le x820") > -1 ? info.langPack.le2_m : info.langPack.le_sp
        }
    };
    n.init()
}, LTK["air/event/givee"] = function (e, i, t) {
    var a = {
        on: function (e, i, t) {
            if (!e)return void trace("CustomEvent::on:", arguments.callee.caller);
            var a = e.indexOf(".");
            return a > 0 && (i._ENAME_ = e.slice(a), e = e.slice(0, a)), i._ONCE_ = t || !1, (this._EVENTS_[e] || (this._EVENTS_[e] = [])).push(i), this
        }, one: function (e, i) {
            return this.on(e, i, !0)
        }, off: function (e) {
            var i = e.indexOf(".");
            if (i > 0) {
                var t = e.slice(i);
                if (e = this._EVENTS_[e.slice(0, i)])for (var a = e.length; a--;)i = e[a], i && i._ENAME_ === t && (e[a] = !1)
            } else this._EVENTS_[e] = null;
            return this
        }, emit: function (e) {
            if (!e)return void trace("CustomEvent::emit:", arguments.callee.caller);
            var i, t = e.indexOf(".");
            if (t > 0 && (i = e.slice(t), e = e.slice(0, t)), e = this._EVENTS_[e])for (var a, n = 0, o = e.length, s = e.slice.call(arguments, 1); o > n; n++)a = e[n], !a || i && a._ENAME_ !== i || (a.apply(this, s), a._ONCE_ && (e[n] = !1));
            return this
        }
    }, n = function (e) {
        return "function" == typeof e && (e = e.prototype), e._EVENTS_ || (e._EVENTS_ = {}), e.on || (e.on = a.on), e.one || (e.one = a.one), e.off || (e.off = a.off), e.emit || (e.emit = a.emit), e
    };
    t.exports = n
}, LTK["components/util/events"] = function (e, i, t) {
    t.exports = e("air/event/givee")({})
}, LTK["components/player/ort_player"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = function () {
    };
    n.prototype = {
        _isAndroid: /Android/i.test(navigator.userAgent),
        _isIphone: /iphone/i.test(navigator.userAgent),
        _isWeixin: /micromessenger/i.test(navigator.userAgent),
        isFullScreen: !1,
        init: function (e) {
            this.options = e || "", e.videoWrapperId && (this._initDom(), this._initEvent(), this.initPage())
        },
        _initDom: function () {
            var e = this.options;
            this.offsetW = e.offsetW || 0, this._videoWrapper = $("#" + e.videoWrapperId), this.notFullScreenWidth = this._videoWrapper.width(), this.horizontalWidth = null, this.firstIsFullScreen = !1, this.customFullScreen = !1, this.isH = this.firstIsH = this.getOrientation(), this.isFullScreen = !1, this.customTrigger = !1, this.isCorrectEnv = this._isAndroid || this._isIphone && this._isWeixin
        },
        _initEvent: function () {
            $(window).on("ortchange", $.proxy(this.onOrtChange, this)), a.on("playerChangeFullscreen", $.proxy(this.onPlayerChangeFullscreen, this)), $(window).on("resize", $.proxy(this.fullScreenResize, this))
        },
        onPlayerChangeFullscreen: function (e) {
            var i = this.isFullScreen = 1 === e.flag;
            return this.customTrigger ? void(this.customTrigger = !1) : (this.changeFullScreen(), void(e.isActiveBehavior && (this.customFullScreen = i)))
        },
        fullScreenResize: function () {
            this.isFullScreen && this.changeSize()
        },
        initPage: function () {
            this.isCorrectEnv && this.isH && (this.firstIsFullScreen = !0, this.isFullScreen = !0, this.changeFullScreen(), this.customTrigger = !0, setTimeout(function () {
                a.emit("setFullScreen", !0)
            }, 1e3))
        },
        onOrtChange: function () {
            this.isH = !this.isH;
            var e = this.isH;
            this.firstIsH && !e && (this.notFullScreenWidth = $("body").width() - this.offsetW, this.firstIsFullScreen && !this.customFullScreen && (this.customTrigger = !0, a.emit("setFullScreen", !1), setTimeout(function () {
                a.emit("startBarrage", {from: "portrait"})
            }, 500))), !this.customFullScreen && this.isCorrectEnv && (this.isH ? (this.customTrigger = !0, a.emit("setFullScreen", !0), this.isFullScreen = !0) : this.isFullScreen && (this.customTrigger = !0, a.emit("setFullScreen", !1), this.isFullScreen = !1), this.changeFullScreen()), this.ortResize()
        },
        ortResize: function () {
            var e = this.isH, i = this.notFullScreenWidth, t = 9 / 16 * i;
            (e || this.isFullScreen) && (i = $("body").width(), t = $(window).height(), this.horizontalWidth = $("body").width()), this._videoWrapper.width(i), this._videoWrapper.height(t), a.emit("setPlayerSize", i, t), a.emit("ortResize", {
                isH: this.isH,
                isFullscreen: this.isFullscreen
            })
        },
        changeSize: function () {
            var e = this.isFullScreen, i = this.isH ? this.horizontalWidth : this.notFullScreenWidth, t = 9 / 16 * i;
            (e || this.isH && !this.horizontalWidth) && (i = $("body").width(), t = $(window).height()), this._videoWrapper.width(i), this._videoWrapper.height(t), a.emit("setPlayerSize", i, t)
        },
        changeFullScreen: function () {
            var e = $("body");
            this.isFullScreen ? (e.addClass("fullScreen"), this._videoWrapper.on("touchmove", $.proxy(this.ontouchmove, this)), a.emit("removeBarrage", {from: this.isH ? "landscape" : "falseFullScreen"}), a.emit("setOrtPlayerFullScreen")) : (e.removeClass("fullScreen"), this._videoWrapper.off("touchmove", $.proxy(this.ontouchmove, this)), a.emit("offOrtPlayerFullScreen"), this.isH ? a.emit("removeBarrage", {from: "landscape"}) : a.emit("removeBarrage", {from: "portrait"})), this.changeSize()
        },
        ontouchmove: function (e) {
            e.preventDefault(), this.changeSize()
        },
        getOrientation: function () {
            var e = window.innerWidth > window.innerHeight;
            return e
        }
    }, t.exports = n
}, LTK["components/player/constant"] = function (e, i, t) {
    var a = {
        VIDEO_KEY: "U2FsdGVkX18gr9/AFub2CkfBrw+TS5oa8IxGgtTsQRZPnSTbgoVEIh5whcFJDuH/ XYrYBSxfHGHOf39Brti0YA==",
        getLocal: function () {
            var e = "zh_cn", i = "CN", t = {};
            location.href.indexOf("editZtdiySubject") > -1 ? (e = "zh_cn", i = "CN") : (e = info.lang || "zh_cn", i = info.region || "CN");
            var a = {lang: {zh_cn: "cn", zh_hk: "hk", en_us: "en"}, region: {CN: "cn", HK: "cn", US: "cn"}};
            return t = {lan: a.lang[e], region: a.region[i]}
        }
    };
    t.exports = a
}, LTK["sdk/bridge/base/listeners"] = function (e, i, t) {
    "use strict";
    var a = {};
    t.exports = {listeners: a}
}, LTK["sdk/bridge/base/cb"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/listeners"), n = function (e, i) {
        var t = a[e];
        i = i || "{}";
        try {
            i = JSON.parse(i), i.eventName = e, t && t(i)
        } catch (n) {
        }
    }, o = function (e, i) {
        var t = a[e];
        i = i || "{}";
        try {
            i = JSON.parse(i)
        } catch (n) {
        }
        t && t(i), delete a[e];
        var o = document.getElementById(e);
        o && o.parentNode.removeChild(o)
    };
    t.exports = {fireEvent: n, callback: o}
}, LTK["sdk/common/md5"] = function (e, i, t) {
    function a(e, i) {
        var t = (65535 & e) + (65535 & i), a = (e >> 16) + (i >> 16) + (t >> 16);
        return a << 16 | 65535 & t
    }

    function n(e, i) {
        return e << i | e >>> 32 - i
    }

    function o(e, i, t, o, s, r) {
        return a(n(a(a(i, e), a(o, r)), s), t)
    }

    function s(e, i, t, a, n, s, r) {
        return o(i & t | ~i & a, e, i, n, s, r)
    }

    function r(e, i, t, a, n, s, r) {
        return o(i & a | t & ~a, e, i, n, s, r)
    }

    function l(e, i, t, a, n, s, r) {
        return o(i ^ t ^ a, e, i, n, s, r)
    }

    function c(e, i, t, a, n, s, r) {
        return o(t ^ (i | ~a), e, i, n, s, r)
    }

    function d(e, i) {
        e[i >> 5] |= 128 << i % 32, e[(i + 64 >>> 9 << 4) + 14] = i;
        var t, n, o, d, p, h = 1732584193, u = -271733879, f = -1732584194, m = 271733878;
        for (t = 0; t < e.length; t += 16)n = h, o = u, d = f, p = m, h = s(h, u, f, m, e[t], 7, -680876936), m = s(m, h, u, f, e[t + 1], 12, -389564586), f = s(f, m, h, u, e[t + 2], 17, 606105819), u = s(u, f, m, h, e[t + 3], 22, -1044525330), h = s(h, u, f, m, e[t + 4], 7, -176418897), m = s(m, h, u, f, e[t + 5], 12, 1200080426), f = s(f, m, h, u, e[t + 6], 17, -1473231341), u = s(u, f, m, h, e[t + 7], 22, -45705983), h = s(h, u, f, m, e[t + 8], 7, 1770035416), m = s(m, h, u, f, e[t + 9], 12, -1958414417), f = s(f, m, h, u, e[t + 10], 17, -42063), u = s(u, f, m, h, e[t + 11], 22, -1990404162), h = s(h, u, f, m, e[t + 12], 7, 1804603682), m = s(m, h, u, f, e[t + 13], 12, -40341101), f = s(f, m, h, u, e[t + 14], 17, -1502002290), u = s(u, f, m, h, e[t + 15], 22, 1236535329), h = r(h, u, f, m, e[t + 1], 5, -165796510), m = r(m, h, u, f, e[t + 6], 9, -1069501632), f = r(f, m, h, u, e[t + 11], 14, 643717713), u = r(u, f, m, h, e[t], 20, -373897302), h = r(h, u, f, m, e[t + 5], 5, -701558691), m = r(m, h, u, f, e[t + 10], 9, 38016083), f = r(f, m, h, u, e[t + 15], 14, -660478335), u = r(u, f, m, h, e[t + 4], 20, -405537848), h = r(h, u, f, m, e[t + 9], 5, 568446438), m = r(m, h, u, f, e[t + 14], 9, -1019803690), f = r(f, m, h, u, e[t + 3], 14, -187363961), u = r(u, f, m, h, e[t + 8], 20, 1163531501), h = r(h, u, f, m, e[t + 13], 5, -1444681467), m = r(m, h, u, f, e[t + 2], 9, -51403784), f = r(f, m, h, u, e[t + 7], 14, 1735328473), u = r(u, f, m, h, e[t + 12], 20, -1926607734), h = l(h, u, f, m, e[t + 5], 4, -378558), m = l(m, h, u, f, e[t + 8], 11, -2022574463), f = l(f, m, h, u, e[t + 11], 16, 1839030562), u = l(u, f, m, h, e[t + 14], 23, -35309556), h = l(h, u, f, m, e[t + 1], 4, -1530992060), m = l(m, h, u, f, e[t + 4], 11, 1272893353), f = l(f, m, h, u, e[t + 7], 16, -155497632), u = l(u, f, m, h, e[t + 10], 23, -1094730640), h = l(h, u, f, m, e[t + 13], 4, 681279174), m = l(m, h, u, f, e[t], 11, -358537222), f = l(f, m, h, u, e[t + 3], 16, -722521979), u = l(u, f, m, h, e[t + 6], 23, 76029189), h = l(h, u, f, m, e[t + 9], 4, -640364487), m = l(m, h, u, f, e[t + 12], 11, -421815835), f = l(f, m, h, u, e[t + 15], 16, 530742520), u = l(u, f, m, h, e[t + 2], 23, -995338651), h = c(h, u, f, m, e[t], 6, -198630844), m = c(m, h, u, f, e[t + 7], 10, 1126891415), f = c(f, m, h, u, e[t + 14], 15, -1416354905), u = c(u, f, m, h, e[t + 5], 21, -57434055), h = c(h, u, f, m, e[t + 12], 6, 1700485571), m = c(m, h, u, f, e[t + 3], 10, -1894986606), f = c(f, m, h, u, e[t + 10], 15, -1051523), u = c(u, f, m, h, e[t + 1], 21, -2054922799), h = c(h, u, f, m, e[t + 8], 6, 1873313359), m = c(m, h, u, f, e[t + 15], 10, -30611744), f = c(f, m, h, u, e[t + 6], 15, -1560198380), u = c(u, f, m, h, e[t + 13], 21, 1309151649), h = c(h, u, f, m, e[t + 4], 6, -145523070), m = c(m, h, u, f, e[t + 11], 10, -1120210379), f = c(f, m, h, u, e[t + 2], 15, 718787259), u = c(u, f, m, h, e[t + 9], 21, -343485551), h = a(h, n), u = a(u, o), f = a(f, d), m = a(m, p);
        return [h, u, f, m]
    }

    function p(e) {
        var i, t = "";
        for (i = 0; i < 32 * e.length; i += 8)t += String.fromCharCode(e[i >> 5] >>> i % 32 & 255);
        return t
    }

    function h(e) {
        var i, t = [];
        for (t[(e.length >> 2) - 1] = void 0, i = 0; i < t.length; i += 1)t[i] = 0;
        for (i = 0; i < 8 * e.length; i += 8)t[i >> 5] |= (255 & e.charCodeAt(i / 8)) << i % 32;
        return t
    }

    function u(e) {
        return p(d(h(e), 8 * e.length))
    }

    function f(e, i) {
        var t, a, n = h(e), o = [], s = [];
        for (o[15] = s[15] = void 0, n.length > 16 && (n = d(n, 8 * e.length)), t = 0; 16 > t; t += 1)o[t] = 909522486 ^ n[t], s[t] = 1549556828 ^ n[t];
        return a = d(o.concat(h(i)), 512 + 8 * i.length), p(d(s.concat(a), 640))
    }

    function m(e) {
        var i, t, a = "0123456789abcdef", n = "";
        for (t = 0; t < e.length; t += 1)i = e.charCodeAt(t), n += a.charAt(i >>> 4 & 15) + a.charAt(15 & i);
        return n
    }

    function g(e) {
        return unescape(encodeURIComponent(e))
    }

    function v(e) {
        return u(g(e))
    }

    function w(e) {
        return m(v(e))
    }

    function _(e, i) {
        return f(g(e), g(i))
    }

    function y(e, i) {
        return m(_(e, i))
    }

    function b(e, i, t) {
        return i ? t ? _(i, e) : y(i, e) : t ? v(e) : w(e)
    }

    t.exports = b
}, LTK["sdk/common/base64"] = function (e, i, t) {
    var a = {
        _keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", encode: function (e) {
            var i, t, n, o, s, r, l, c = "", d = 0;
            for (e = a._utf8_encode(e); d < e.length;)i = e.charCodeAt(d++), t = e.charCodeAt(d++), n = e.charCodeAt(d++), o = i >> 2, s = (3 & i) << 4 | t >> 4, r = (15 & t) << 2 | n >> 6, l = 63 & n, isNaN(t) ? r = l = 64 : isNaN(n) && (l = 64), c = c + this._keyStr.charAt(o) + this._keyStr.charAt(s) + this._keyStr.charAt(r) + this._keyStr.charAt(l);
            return c
        }, decode: function (e) {
            var i, t, n, o, s, r, l, c = "", d = 0;
            for (e = e.replace(/[^A-Za-z0-9\+\/\=]/g, ""); d < e.length;)o = this._keyStr.indexOf(e.charAt(d++)), s = this._keyStr.indexOf(e.charAt(d++)), r = this._keyStr.indexOf(e.charAt(d++)), l = this._keyStr.indexOf(e.charAt(d++)), i = o << 2 | s >> 4, t = (15 & s) << 4 | r >> 2, n = (3 & r) << 6 | l, c += String.fromCharCode(i), 64 != r && (c += String.fromCharCode(t)), 64 != l && (c += String.fromCharCode(n));
            return c = a._utf8_decode(c)
        }, _utf8_encode: function (e) {
            e = e.replace(/\r\n/g, "\n");
            for (var i = "", t = 0; t < e.length; t++) {
                var a = e.charCodeAt(t);
                128 > a ? i += String.fromCharCode(a) : a > 127 && 2048 > a ? (i += String.fromCharCode(a >> 6 | 192), i += String.fromCharCode(63 & a | 128)) : (i += String.fromCharCode(a >> 12 | 224), i += String.fromCharCode(a >> 6 & 63 | 128), i += String.fromCharCode(63 & a | 128))
            }
            return i
        }, _utf8_decode: function (e) {
            for (var i = "", t = 0, a = c1 = c2 = 0; t < e.length;)a = e.charCodeAt(t), 128 > a ? (i += String.fromCharCode(a), t++) : a > 191 && 224 > a ? (c2 = e.charCodeAt(t + 1), i += String.fromCharCode((31 & a) << 6 | 63 & c2), t += 2) : (c2 = e.charCodeAt(t + 1), c3 = e.charCodeAt(t + 2), i += String.fromCharCode((15 & a) << 12 | (63 & c2) << 6 | 63 & c3), t += 3);
            return i
        }
    };
    t.exports = a
}, LTK["sdk/common/decode"] = function (e, i, t) {
    function a(e, i) {
        var i = i ? i : "", t = 4;
        i = r(i);
        var a = r(i.substr(0, 16)), c = r(i.substr(16, 16));
        if (t)var d = e.substr(0, t); else var d = "";
        var p, h = a + r(a + d);
        e = e.substr(t), p = l.decode(e);
        for (var u = new Array(256), f = 0; 256 > f; f++)u[f] = f;
        for (var m = new Array, f = 0; 256 > f; f++)m[f] = h.charCodeAt(f % h.length);
        for (var g = f = 0; 256 > f; f++)g = (g + u[f] + m[f]) % 256, tmp = u[f], u[f] = u[g], u[g] = tmp;
        var v = "";
        p = p.split("");
        for (var w = g = f = 0; f < p.length; f++)w = (w + 1) % 256, g = (g + u[w]) % 256, tmp = u[w], u[w] = u[g], u[g] = tmp, v += o(s(p[f]) ^ u[(u[w] + u[g]) % 256]);
        return v = (0 == v.substr(0, 10) || v.substr(0, 10) - n() > 0) && v.substr(10, 16) == r(v.substr(26) + c).substr(0, 16) ? v.substr(26) : ""
    }

    function n() {
        var e = (new Date).getTime();
        return parseInt(e / 1e3)
    }

    function o(e) {
        return String.fromCharCode(e)
    }

    function s(e) {
        return e.charCodeAt()
    }

    var r = e("sdk/common/md5"), l = e("sdk/common/base64");
    t.exports = a
}, LTK["sdk/common/index"] = function (e, i, t) {
    var a = e("sdk/common/decode"), n = function (e) {
        var i = "iWFeNzVA7669bOni|mOC2O3sJMQbwIwOL|gJ8DbpRG4ecetQF2|hLTnSUxZixla3j0n|Y8yEqn61vi84cQsd", t = i.split("|");
        return 16 == e.length ? t.indexOf(e) > -1 : "le" === a(e, "m")
    }, o = function (e) {
        if (n(e.key)) {
            LemSdk.access = !0;
            for (var i in LemSdk)"function" == typeof LemSdk[i].config && (LemSdk[i].config(), delete LemSdk[i].config);
            setTimeout(function () {
                "function" == typeof LemSdk.onReady && LemSdk.onReady()
            }, 1)
        }
    };
    t.exports = {config: o, check: n}
}, LTK["sdk/bridge/base/register"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/listeners"), n = navigator.userAgent.toLowerCase(), o = n.indexOf("lesuperview") > -1, s = /iphone|ipad|ipod/.test(n) ? !0 : !1, r = {
        core: {},
        fun: {}
    }, l = function (e, i, t) {
        var a = document.createElement("iframe");
        a.id = t, a.style.display = "none", document.documentElement.appendChild(a), a.src = "letvjsbridge:" + i + ":" + e
    }, c = function (e, i) {
        window.LetvJSBridge_For_Android && window.LetvJSBridge_For_Android[i] && window.LetvJSBridge_For_Android[i](e)
    }, d = function (e) {
        window.LeSuperWebview && window.LeSuperWebview.callNativeFunc && window.LeSuperWebview.callNativeFunc(e)
    }, p = function (e, i) {
        var t = "letv_bridge_" + (new Date).getTime() + Math.floor(1e4 * Math.random()), n = {};
        a[t] = i, n.name = e, n.callback_id = t, n.callback = "LetvJSBridge.callback", window.LeSuperWebview && window.LeSuperWebview.callEventManage && window.LeSuperWebview.callEventManage(JSON.stringify(n))
    }, h = function (e, i) {
        var t = e.split(".");
        2 === t.length && (r[t[0]][t[1]] = function (e, n) {
            e = e || "{}", n = n || function () {
                };
            var r = "letv_bridge_" + (new Date).getTime() + Math.floor(1e4 * Math.random()), p = s ? t.join(".") : t.join("_"), h = {};
            a[r] = n, h.name = e, h.callback_id = r, h.callback = "LetvJSBridge.callback", h.func = p, o && (h.eventname = i || ""), o ? d(JSON.stringify([h])) : s ? l(JSON.stringify([h]), p, r) : c(JSON.stringify([h]), p)
        })
    };
    t.exports = {bridge: r, registerFunc: h, registerEvent: p}
}, LTK["sdk/bridge/app"] = function (e, i, t) {
    "use strict";
    var a = navigator.userAgent.toLowerCase(), n = a.indexOf("letvclient") > -1 || a.indexOf("letvmobileclient") > -1, o = a.indexOf("lesuperview") > -1, s = e("sdk/bridge/base/register"), r = {};
    s.registerFunc("core.getVersion"), r.getVersion = function (e) {
        s.bridge.core.getVersion(null, e)
    }, r.isAppEnv = n, r.isLeSuperView = o, t.exports = r
}, LTK["sdk/bridge/base/event"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/listeners"), n = function (e, i) {
        "function" == typeof i && (a[e] = i)
    };
    t.exports = {on: n}
}, LTK["sdk/bridge/user"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = e("sdk/bridge/base/event"), o = Object.create(n);
    a.registerFunc("fun.callLogin"), a.registerFunc("fun.callLogout"), a.registerFunc("core.getUserInfo"), o.login = function (e) {
        a.bridge.fun.callLogin(null, e)
    }, o.logout = function (e) {
        a.bridge.fun.callLogout(null, e)
    }, o.getInfo = function (e) {
        a.bridge.core.getUserInfo(null, e)
    }, t.exports = o
}, LTK["sdk/bridge/video"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = {};
    a.registerFunc("fun.playVideo"), a.registerFunc("fun.saveVideo"), a.registerFunc("fun.autoPlay"), n.play = function (e, i) {
        e.type = e.type || 1, e.screen = e.screen || 1, a.bridge.fun.playVideo(e, i)
    }, n.playLive = function (e, i) {
        e.type = e.type || 2, e.screen = e.screen || 2, a.bridge.fun.playVideo(e, i)
    }, n.save = function (e, i) {
        e.pid = e.pid || "", e.definition = e.definition || "1000", a.bridge.fun.saveVideo(e, i);
    }, n.auto = function (e, i) {
        a.bridge.fun.autoPlay(e, i)
    }, t.exports = n
}, LTK["sdk/bridge/shake"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = e("sdk/bridge/base/event"), o = Object.create(n);
    a.registerFunc("fun.enableShake"), o.enable = function (e) {
        a.bridge.fun.enableShake(null, e)
    }, t.exports = o
}, LTK["sdk/bridge/share"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = e("sdk/bridge/base/event"), o = Object.create(n);
    a.registerFunc("fun.callShare", "onsharebefore"), a.registerFunc("fun.setShare"), o.callShare = function (e, i) {
        a.bridge.fun.callShare(e, i)
    }, o.setShare = function (e, i) {
        a.bridge.fun.setShare(e, i)
    }, t.exports = o
}, LTK["sdk/bridge/alert"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = {};
    a.registerFunc("fun.callAlert"), n.toast = function (e, i) {
        e.type = "alert", a.bridge.fun.callAlert(e, i)
    }, t.exports = n
}, LTK["sdk/bridge/device"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = {};
    a.registerFunc("core.getDeviceInfo"), a.registerFunc("core.getOnlineDevice"), a.registerFunc("core.getPowerLevel"), a.registerFunc("core.getSpaceSize"), n.getInfo = function (e) {
        a.bridge.core.getDeviceInfo(null, e)
    }, n.getOnline = function (e) {
        a.bridge.core.getOnlineDevice(null, e)
    }, n.getPowerLevel = function (e) {
        a.bridge.core.getPowerLevel(null, e)
    }, n.getSpaceSize = function (e) {
        a.bridge.core.getSpaceSize(null, e)
    }, t.exports = n
}, LTK["sdk/bridge/qrcode"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = {};
    a.registerFunc("fun.callScanCode"), n.scan = function (e) {
        a.bridge.fun.callScanCode(null, e)
    }, t.exports = n
}, LTK["sdk/bridge/screen"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/event"), n = Object.create(a);
    t.exports = n
}, LTK["sdk/bridge/network"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = e("sdk/bridge/base/event"), o = Object.create(n);
    a.registerFunc("core.getNetworkState"), o.getInfo = function (e) {
        a.bridge.core.getNetworkState(null, e)
    }, t.exports = o
}, LTK["sdk/bridge/browser"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = {};
    a.registerFunc("fun.callBrowser"), n.view = function (e, i) {
        a.bridge.fun.callBrowser(e, i)
    }, t.exports = n
}, LTK["sdk/bridge/gallery"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = {};
    a.registerFunc("fun.openImage"), a.registerFunc("fun.openCamera"), n.openImage = function (e, i) {
        e.scale = e.scale || .1, a.bridge.fun.openImage(e, i)
    }, n.openCamera = function (e, i) {
        e.scale = e.scale || .1, a.bridge.fun.openCamera(e, i)
    }, t.exports = n
}, LTK["sdk/bridge/webview"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = {};
    a.registerFunc("fun.callWebview"), a.registerFunc("fun.callNativeUI"), a.registerFunc("fun.openNewWin"), n.open = function (e, i) {
        e.target = e.target || 0, a.bridge.fun.callWebview(e, i)
    }, n.callNativeUI = function (e, i) {
        e.url = e.url || "Home", a.bridge.fun.callNativeUI(e, i)
    }, n.openNewWin = function (e, i) {
        e.type = e.type || 1, e.isShowNav = e.isShowNav || 1, e.title = e.title || "", a.bridge.fun.openNewWin(e, i)
    }, t.exports = n
}, LTK["sdk/bridge/geolocation"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = {};
    a.registerFunc("fun.getGeolocation"), n.get = function (e) {
        a.bridge.fun.getGeolocation(null, e)
    }, t.exports = n
}, LTK["sdk/bridge/vip"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = {};
    a.registerFunc("fun.updateStatus"), n.update = function (e, i) {
        var t = {type: "vip", info: e};
        a.bridge.fun.updateStatus(t, i)
    }, t.exports = n
}, LTK["sdk/bridge/hasFeature"] = function (e, i, t) {
    "use strict";
    var a = navigator.userAgent.toLowerCase(), n = /iphone|ipad|ipod/.test(a) ? !0 : !1, o = e("sdk/bridge/base/register");
    o.registerFunc("core.hasFeature"), t.exports = function (e, i) {
        e = n ? e : e.replace(".", "_"), o.bridge.core.hasFeature(e, i)
    }
}, LTK["sdk/bridge/gEvent"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/register"), n = e("sdk/bridge/base/event"), o = Object.create(n);
    o.enable = function (e, i) {
        var t = {eventName: e, "switch": 1};
        a.registerEvent(t, i)
    }, o.disable = function (e, i) {
        var t = {eventName: e, "switch": 0};
        a.registerEvent(t, i)
    }, t.exports = o
}, LTK["sdk/bridge/index"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/bridge/base/cb"), n = window.LetvJSBridge || {};
    n.callback = a.callback, n.fireEvent = a.fireEvent, window.LetvJSBridge = n;
    var o = {name: "bridge", version: "0.2.7"}, s = e("sdk/common/index"), r = function () {
        o.app = e("sdk/bridge/app"), o.user = e("sdk/bridge/user"), o.video = e("sdk/bridge/video"), o.shake = e("sdk/bridge/shake"), o.share = e("sdk/bridge/share"), o.alert = e("sdk/bridge/alert"), o.device = e("sdk/bridge/device"), o.qrcode = e("sdk/bridge/qrcode"), o.screen = e("sdk/bridge/screen"), o.network = e("sdk/bridge/network"), o.browser = e("sdk/bridge/browser"), o.gallery = e("sdk/bridge/gallery"), o.webview = e("sdk/bridge/webview"), o.geolocation = e("sdk/bridge/geolocation"), o.vip = e("sdk/bridge/vip"), o.hasFeature = e("sdk/bridge/hasFeature"), o.gEvent = e("sdk/bridge/gEvent")
    }, l = function () {
        arguments.length > 0 ? s.check(arguments[0].key) && r() : r()
    };
    window.LemSdk && LemSdk.access ? l() : o.config = l, window.LemSdk && (LemSdk.config = s.config), t.exports = o
}, LTK["components/user/getUserInfo"] = function (e, i, t) {
    var a, n = !1, o = [], s = function () {
        for (var e = 0, i = o.length; i > e; e++)o[e](a);
        o.length = 0
    };
    t.exports = function (e) {
        "function" == typeof e || (e = function () {
        });
        var i = $.cookie("ssouid");
        if (!i)return a = null, void e(null);
        if (a)return void e(a);
        if (o.push(e), !n) {
            n = !0;
            var t = $.cookie("sso_picture"), r = $.cookie("sso_icon");
            r = r ? r.split(",") : [t, t, t], a = {
                ssouid: i,
                username: $.cookie("m"),
                nickname: $.cookie("sso_nickname"),
                headicon: t,
                headicon_50: r[3],
                headicon_70: r[2],
                headicon_200: r[1]
            }, $.ajax({
                url: le.api_host.yuanxian + "/letv/net/checkLogin.jsp?callback=?&location=" + location.href,
                dataType: "jsonp",
                success: function (e) {
                    e || (e = {}), a.userlevel = e.isvip, a.lasttime = e.productEndTime, a.surplus = e.days, a.expireDate = e.endtime, n = !1, s()
                }
            })
        }
    }
}, !function (e, i) {
    "function" == typeof define && (define.amd || define.cmd) ? define(function () {
        return i(e)
    }) : i(e, !0)
}(this, function (e, i) {
    function t(i, t, a) {
        e.WeixinJSBridge ? WeixinJSBridge.invoke(i, n(t), function (e) {
            r(i, e, a)
        }) : d(i, a)
    }

    function a(i, t, a) {
        e.WeixinJSBridge ? WeixinJSBridge.on(i, function (e) {
            a && a.trigger && a.trigger(e), r(i, e, t)
        }) : a ? d(i, a) : d(i, t)
    }

    function n(e) {
        return e = e || {}, e.appId = P.appId, e.verifyAppId = P.appId, e.verifySignType = "sha1", e.verifyTimestamp = P.timestamp + "", e.verifyNonceStr = P.nonceStr, e.verifySignature = P.signature, e
    }

    function o(e, i) {
        return {scope: i, signType: "sha1", timeStamp: e.timestamp + "", nonceStr: e.nonceStr, addrSign: e.addrSign}
    }

    function s(e) {
        return {
            timeStamp: e.timestamp + "",
            nonceStr: e.nonceStr,
            "package": e["package"],
            paySign: e.paySign,
            signType: e.signType || "SHA1"
        }
    }

    function r(e, i, t) {
        var a, n, o;
        switch (delete i.err_code, delete i.err_desc, delete i.err_detail, a = i.errMsg, a || (a = i.err_msg, delete i.err_msg, a = l(e, a, t), i.errMsg = a), t = t || {}, t._complete && (t._complete(i), delete t._complete), a = i.errMsg || "", P.debug && !t.isInnerInvoke && alert(JSON.stringify(i)), n = a.indexOf(":"), o = a.substring(n + 1)) {
            case"ok":
                t.success && t.success(i);
                break;
            case"cancel":
                t.cancel && t.cancel(i);
                break;
            default:
                t.fail && t.fail(i)
        }
        t.complete && t.complete(i)
    }

    function l(e, i) {
        var t, a, n, o;
        if (i) {
            switch (t = i.indexOf(":"), e) {
                case m.config:
                    a = "config";
                    break;
                case m.openProductSpecificView:
                    a = "openProductSpecificView";
                    break;
                default:
                    a = i.substring(0, t), a = a.replace(/_/g, " "), a = a.replace(/\b\w+\b/g, function (e) {
                        return e.substring(0, 1).toUpperCase() + e.substring(1)
                    }), a = a.substring(0, 1).toLowerCase() + a.substring(1), a = a.replace(/ /g, ""), -1 != a.indexOf("Wcpay") && (a = a.replace("Wcpay", "WCPay")), n = g[a], n && (a = n)
            }
            o = i.substring(t + 1), "confirm" == o && (o = "ok"), -1 != o.indexOf("failed_") && (o = o.substring(7)), -1 != o.indexOf("fail_") && (o = o.substring(5)), o = o.replace(/_/g, " "), o = o.toLowerCase(), ("access denied" == o || "no permission to execute" == o) && (o = "permission denied"), "config" == a && "function not exist" == o && (o = "ok"), i = a + ":" + o
        }
        return i
    }

    function c(e) {
        var i, t, a, n;
        if (e) {
            for (i = 0, t = e.length; t > i; ++i)a = e[i], n = m[a], n && (e[i] = n);
            return e
        }
    }

    function d(e, i) {
        if (P.debug && !i.isInnerInvoke) {
            var t = g[e];
            t && (e = t), i && i._complete && delete i._complete, console.log('"' + e + '",', i || "")
        }
    }

    function p() {
        if (!("6.0.2" > k || T.systemType < 0)) {
            var e = new Image;
            T.appId = P.appId, T.initTime = S.initEndTime - S.initStartTime, T.preVerifyTime = S.preVerifyEndTime - S.preVerifyStartTime, $.getNetworkType({
                isInnerInvoke: !0,
                success: function (i) {
                    T.networkType = i.networkType;
                    var t = "https://open.weixin.qq.com/sdk/report?v=" + T.version + "&o=" + T.isPreVerifyOk + "&s=" + T.systemType + "&c=" + T.clientVersion + "&a=" + T.appId + "&n=" + T.networkType + "&i=" + T.initTime + "&p=" + T.preVerifyTime + "&u=" + T.url;
                    e.src = t
                }
            })
        }
    }

    function h() {
        return (new Date).getTime()
    }

    function u(i) {
        y && (e.WeixinJSBridge ? i() : v.addEventListener && v.addEventListener("WeixinJSBridgeReady", i, !1))
    }

    function f() {
        $.invoke || ($.invoke = function (i, t, a) {
            e.WeixinJSBridge && WeixinJSBridge.invoke(i, n(t), a)
        }, $.on = function (i, t) {
            e.WeixinJSBridge && WeixinJSBridge.on(i, t)
        })
    }

    var m, g, v, w, _, y, b, x, k, S, T, P, C, j, $;
    return e.jWeixin ? void 0 : (m = {
        config: "preVerifyJSAPI",
        onMenuShareTimeline: "menu:share:timeline",
        onMenuShareAppMessage: "menu:share:appmessage",
        onMenuShareQQ: "menu:share:qq",
        onMenuShareWeibo: "menu:share:weiboApp",
        previewImage: "imagePreview",
        getLocation: "geoLocation",
        openProductSpecificView: "openProductViewWithPid",
        addCard: "batchAddCard",
        openCard: "batchViewCard",
        chooseWXPay: "getBrandWCPayRequest"
    }, g = function () {
        var e, i = {};
        for (e in m)i[m[e]] = e;
        return i
    }(), v = e.document, w = v.title, _ = navigator.userAgent.toLowerCase(), y = -1 != _.indexOf("micromessenger"), b = -1 != _.indexOf("android"), x = -1 != _.indexOf("iphone") || -1 != _.indexOf("ipad"), k = function () {
        var e = _.match(/micromessenger\/(\d+\.\d+\.\d+)/) || _.match(/micromessenger\/(\d+\.\d+)/);
        return e ? e[1] : ""
    }(), S = {initStartTime: h(), initEndTime: 0, preVerifyStartTime: 0, preVerifyEndTime: 0}, T = {
        version: 1,
        appId: "",
        initTime: 0,
        preVerifyTime: 0,
        networkType: "",
        isPreVerifyOk: 1,
        systemType: x ? 1 : b ? 2 : -1,
        clientVersion: k,
        url: encodeURIComponent(location.href)
    }, P = {}, C = {_completes: []}, j = {state: 0, res: {}}, u(function () {
        S.initEndTime = h()
    }), $ = {
        config: function (e) {
            P = e, d("config", e), u(function () {
                t(m.config, {verifyJsApiList: c(P.jsApiList)}, function () {
                    C._complete = function (e) {
                        S.preVerifyEndTime = h(), j.state = 1, j.res = e
                    }, C.success = function () {
                        T.isPreVerifyOk = 0
                    }, C.fail = function (e) {
                        C._fail ? C._fail(e) : j.state = -1
                    };
                    var e = C._completes;
                    return e.push(function () {
                        P.debug || p()
                    }), C.complete = function (i) {
                        for (var t = 0, a = e.length; a > t; ++t)e[t](i);
                        C._completes = []
                    }, C
                }()), S.preVerifyStartTime = h()
            }), P.beta && f()
        }, ready: function (e) {
            0 != j.state ? e() : (C._completes.push(e), !y && P.debug && e())
        }, error: function (e) {
            "6.0.2" > k || (-1 == j.state ? e(j.res) : C._fail = e)
        }, checkJsApi: function (e) {
            var i = function (e) {
                var i, t, a = e.checkResult;
                for (i in a)t = g[i], t && (a[t] = a[i], delete a[i]);
                return e
            };
            t("checkJsApi", {jsApiList: c(e.jsApiList)}, function () {
                return e._complete = function (e) {
                    if (b) {
                        var t = e.checkResult;
                        t && (e.checkResult = JSON.parse(t))
                    }
                    e = i(e)
                }, e
            }())
        }, onMenuShareTimeline: function (e) {
            a(m.onMenuShareTimeline, {
                complete: function () {
                    t("shareTimeline", {
                        title: e.title || w,
                        desc: e.title || w,
                        img_url: e.imgUrl,
                        link: e.link || location.href
                    }, e)
                }
            }, e)
        }, onMenuShareAppMessage: function (e) {
            a(m.onMenuShareAppMessage, {
                complete: function () {
                    t("sendAppMessage", {
                        title: e.title || w,
                        desc: e.desc || "",
                        link: e.link || location.href,
                        img_url: e.imgUrl,
                        type: e.type || "link",
                        data_url: e.dataUrl || ""
                    }, e)
                }
            }, e)
        }, onMenuShareQQ: function (e) {
            a(m.onMenuShareQQ, {
                complete: function () {
                    t("shareQQ", {
                        title: e.title || w,
                        desc: e.desc || "",
                        img_url: e.imgUrl,
                        link: e.link || location.href
                    }, e)
                }
            }, e)
        }, onMenuShareWeibo: function (e) {
            a(m.onMenuShareWeibo, {
                complete: function () {
                    t("shareWeiboApp", {
                        title: e.title || w,
                        desc: e.desc || "",
                        img_url: e.imgUrl,
                        link: e.link || location.href
                    }, e)
                }
            }, e)
        }, startRecord: function (e) {
            t("startRecord", {}, e)
        }, stopRecord: function (e) {
            t("stopRecord", {}, e)
        }, onVoiceRecordEnd: function (e) {
            a("onVoiceRecordEnd", e)
        }, playVoice: function (e) {
            t("playVoice", {localId: e.localId}, e)
        }, pauseVoice: function (e) {
            t("pauseVoice", {localId: e.localId}, e)
        }, stopVoice: function (e) {
            t("stopVoice", {localId: e.localId}, e)
        }, onVoicePlayEnd: function (e) {
            a("onVoicePlayEnd", e)
        }, uploadVoice: function (e) {
            t("uploadVoice", {localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1}, e)
        }, downloadVoice: function (e) {
            t("downloadVoice", {serverId: e.serverId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1}, e)
        }, translateVoice: function (e) {
            t("translateVoice", {localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1}, e)
        }, chooseImage: function (e) {
            t("chooseImage", {scene: "1|2"}, function () {
                return e._complete = function (e) {
                    if (b) {
                        var i = e.localIds;
                        i && (e.localIds = JSON.parse(i))
                    }
                }, e
            }())
        }, previewImage: function (e) {
            t(m.previewImage, {current: e.current, urls: e.urls}, e)
        }, uploadImage: function (e) {
            t("uploadImage", {localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1}, e)
        }, downloadImage: function (e) {
            t("downloadImage", {serverId: e.serverId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1}, e)
        }, getNetworkType: function (e) {
            var i = function (e) {
                var i, t, a, n = e.errMsg;
                if (e.errMsg = "getNetworkType:ok", i = e.subtype, delete e.subtype, i)e.networkType = i; else switch (t = n.indexOf(":"), a = n.substring(t + 1)) {
                    case"wifi":
                    case"edge":
                    case"wwan":
                        e.networkType = a;
                        break;
                    default:
                        e.errMsg = "getNetworkType:fail"
                }
                return e
            };
            t("getNetworkType", {}, function () {
                return e._complete = function (e) {
                    e = i(e)
                }, e
            }())
        }, openLocation: function (e) {
            t("openLocation", {
                latitude: e.latitude,
                longitude: e.longitude,
                name: e.name || "",
                address: e.address || "",
                scale: e.scale || 28,
                infoUrl: e.infoUrl || ""
            }, e)
        }, getLocation: function (e) {
            t(m.getLocation, function () {
                var i = o(e, "jsapi_location");
                return i.type = "wgs84", i
            }(), function () {
                return e._complete = function (e) {
                    delete e.type
                }, e
            }())
        }, hideOptionMenu: function (e) {
            t("hideOptionMenu", {}, e)
        }, showOptionMenu: function (e) {
            t("showOptionMenu", {}, e)
        }, closeWindow: function (e) {
            t("closeWindow", {immediate_close: e && e.immediateClose || 0}, e)
        }, hideMenuItems: function (e) {
            t("hideMenuItems", {menuList: e.menuList}, e)
        }, showMenuItems: function (e) {
            t("showMenuItems", {menuList: e.menuList}, e)
        }, hideAllNonBaseMenuItem: function (e) {
            t("hideAllNonBaseMenuItem", {}, e)
        }, showAllNonBaseMenuItem: function (e) {
            t("showAllNonBaseMenuItem", {}, e)
        }, scanQRCode: function (e) {
            t("scanQRCode", {
                desc: e.desc,
                needResult: e.needResult || 0,
                scanType: e.scanType || ["qrCode", "barCode"]
            }, e)
        }, openProductSpecificView: function (e) {
            t(m.openProductSpecificView, {pid: e.productId, view_type: e.viewType || 0}, e)
        }, addCard: function (e) {
            var i, a, n, o, s = e.cardList, r = [];
            for (i = 0, a = s.length; a > i; ++i)n = s[i], o = {card_id: n.cardId, card_ext: n.cardExt}, r.push(o);
            t(m.addCard, {card_list: r}, function () {
                return e._complete = function (e) {
                    var i, t, a, n = e.card_list;
                    if (n) {
                        for (n = JSON.parse(n), i = 0, t = n.length; t > i; ++i)a = n[i], a.cardId = a.card_id, a.cardExt = a.card_ext, a.isSuccess = a.is_succ ? !0 : !1, delete a.card_id, delete a.card_ext, delete a.is_succ;
                        e.cardList = n, delete e.card_list
                    }
                }, e
            }())
        }, chooseCard: function (e) {
            t("chooseCard", {
                app_id: P.appId,
                location_id: e.shopId || "",
                sign_type: e.signType || "SHA1",
                card_id: e.cardId || "",
                card_type: e.cardType || "",
                card_sign: e.cardSign,
                time_stamp: e.timestamp + "",
                nonce_str: e.nonceStr
            }, function () {
                return e._complete = function (e) {
                    e.cardList = e.choose_card_info, delete e.choose_card_info
                }, e
            }())
        }, openCard: function (e) {
            var i, a, n, o, s = e.cardList, r = [];
            for (i = 0, a = s.length; a > i; ++i)n = s[i], o = {card_id: n.cardId, code: n.code}, r.push(o);
            t(m.openCard, {card_list: r}, e)
        }, chooseWXPay: function (e) {
            t(m.chooseWXPay, s(e), e)
        }
    }, i && (e.wx = e.jWeixin = $), $)
}), LTK["sdk/share/assign"] = function (e, i, t) {
    "use strict";
    function a(e) {
        if (null === e || void 0 === e)throw new TypeError("Object.assign cannot be called with null or undefined");
        return Object(e)
    }

    function n() {
        try {
            if (!Object.assign)return !1;
            var e = new String("abc");
            if (e[5] = "de", "5" === Object.getOwnPropertyNames(e)[0])return !1;
            for (var i = {}, t = 0; 10 > t; t++)i["_" + String.fromCharCode(t)] = t;
            var a = Object.getOwnPropertyNames(i).map(function (e) {
                return i[e]
            });
            if ("0123456789" !== a.join(""))return !1;
            var n = {};
            return "abcdefghijklmnopqrst".split("").forEach(function (e) {
                n[e] = e
            }), "abcdefghijklmnopqrst" !== Object.keys(Object.assign({}, n)).join("") ? !1 : !0
        } catch (o) {
            return !1
        }
    }

    var o = Object.prototype.hasOwnProperty, s = Object.prototype.propertyIsEnumerable;
    t.exports = n() ? Object.assign : function (e, i) {
        for (var t, n, r = a(e), l = 1; l < arguments.length; l++) {
            t = Object(arguments[l]);
            for (var c in t)o.call(t, c) && (r[c] = t[c]);
            if (Object.getOwnPropertySymbols) {
                n = Object.getOwnPropertySymbols(t);
                for (var d = 0; d < n.length; d++)s.call(t, n[d]) && (r[n[d]] = t[n[d]])
            }
        }
        return r
    }
}, LTK["sdk/share/appShare"] = function (e, i, t) {
    "use strict";
    var a = navigator.userAgent.toLowerCase(), n = /iphone|ipad|ipod/.test(a) ? !0 : !1, o = a.indexOf("letvclient") > -1 || a.indexOf("letvmobileclient") > -1, s = "letvjsbridge", r = {}, l = {fun: {}}, c = function (e, i) {
        if (i = i || "{}", r[e])try {
            r[e](JSON.parse(i)), delete r[e]
        } catch (t) {
        }
        var a = document.getElementById(e);
        a && a.parentNode.removeChild(a)
    };
    window.LetvJSBridge = window.LetvJSBridge || {}, window.LetvJSBridge.shareback = c;
    var d = function (e, i, t) {
        var a = e.split(".");
        2 === a.length && (l[a[0]][a[1]] = function () {
            var e, i, t = "letv_bridge_" + (new Date).getTime() + Math.floor(1e4 * Math.random()), o = n ? a.join(".") : a.join("_"), s = {};
            if (0 === arguments.length ? (e = "{}", i = function () {
                }) : 1 === arguments.length ? "function" != typeof arguments[0] ? (e = arguments[0] || "{}", i = function () {
                }) : (e = "{}", i = "function" == typeof arguments[0] ? arguments[0] : function () {
                }) : (e = arguments[0] || "{}", i = "function" == typeof arguments[1] ? arguments[1] : function () {
                }), "hasFeature" !== a[1] && "string" == typeof e)try {
                e = JSON.parse(e)
            } catch (l) {
                return void alert("参数不是一个有效的JSON格式")
            }
            r[t] = i, s.name = e, s.callback_id = t, s.callback = "LetvJSBridge.shareback", s.func = o, u(JSON.stringify([s]), o, t)
        })
    }, p = function (e, i, t) {
        try {
            var a = document.createElement("iframe");
            a.id = t, a.style.display = "none", document.documentElement.appendChild(a), a.src = s + ":" + i + ":" + e
        } catch (n) {
        }
    }, h = function (e, i) {
        try {
            window.LetvJSBridge_For_Android[i](e)
        } catch (t) {
        }
    }, u = n ? p : h;
    ["fun.callShare", "fun.setShare"].forEach(d), l.isAppEnv = o, t.exports = l
}, LTK["sdk/share/url"] = function (e, i, t) {
    "use strict";
    var a = {
        _query: null, getParam: function (e) {
            var i = this._query;
            return null === i && (i = this._query = this.parseParam(window.location.search.slice(1))), e ? i[e.toLowerCase()] || "" : i
        }, serializeParam: function (e) {
            var i, t, a = [];
            for (i in e)t = e[i], "" !== t && e.hasOwnProperty(i) && a.push(i + "=" + encodeURIComponent(t));
            return a.join("&")
        }, parseParam: function (e) {
            e = e.split("#")[0], e.indexOf("?") > 0 && (e = e.split("?")[1]), e = e.split("&");
            for (var i, t, a, n = {}, o = 0, s = e.length; s > o; o++)i = e[o], i && (t = i.indexOf("="), a = i.slice(t + 1), a && t > 0 && (n[i.slice(0, t).toLowerCase()] = decodeURIComponent(a)));
            return n
        }, setParam: function (e, i) {
            var t = "";
            if (e.indexOf("#") > -1 && (e = e.split("#"), t = "#" + e[1], e = e[0]), e.indexOf("?") > 0) {
                var a = this.parseParam(e);
                for (var n in a)i.hasOwnProperty(n) || a.hasOwnProperty(n) && (i[n] = a[n]);
                e = e.split("?")[0]
            }
            return e + "?" + this.serializeParam(i) + t
        }
    };
    t.exports = a
}, LTK["sdk/share/jsonp"] = function (e, i, t) {
    "use strict";
    var a = function (e, i) {
        var t = Math.floor((new Date).getTime() / 1e3);
        e += "&callback=jsonp" + t;
        var a = document.createElement("script");
        a.src = e, a.id = "jsonpScript", document.body.appendChild(a), window["jsonp" + t] = function (e) {
            document.getElementById("jsonpScript") && document.body.removeChild(a), i(e)
        }
    };
    t.exports = a
}, LTK["sdk/share/index"] = function (e, i, t) {
    "use strict";
    var a = e("sdk/share/assign"), n = e("sdk/share/appShare"), o = e("sdk/share/url"), s = e("sdk/share/jsonp"), r = ["weixin", "weibo", "qzone", "tw", "fb"].join(","), l = ["checkJsApi", "onMenuShareTimeline", "onMenuShareAppMessage", "onMenuShareQQ", "onMenuShareWeibo"], c = function () {
    }, d = {
        tsina: "1414119400",
        debug: !1,
        appId: "",
        timestamp: "",
        nonceStr: "",
        signature: "",
        jsApiList: l
    }, p = {
        type: "webpage",
        title: "",
        desc: "",
        summary: "",
        link: "",
        imgUrl: "",
        onsuccess: c,
        oncancel: c
    }, h = function (e, i) {
        i.success = function () {
            p.onsuccess({type: e})
        }, i.cancel = function () {
            p.oncancel({type: e})
        }, wx && wx[e](i)
    }, u = function (e) {
        var i = p.link.indexOf("ref=share_" + e), t = p.link.indexOf("?"), a = /&$/.test(p.link), n = -1 === i ? -1 === t ? p.link + "?ref=share_" + e : a ? p.link + "ref=share_" + e : p.link + "&ref=share_" + e : p.link;
        return n
    }, f = function (e) {
        var i = "http://s.api.m.le.com/api/newwxparam?_debug=1&url=";
        i += encodeURIComponent(window.location.href.split("#")[0]), s(i, function (i) {
            a(d, i.data), e()
        })
    }, m = {
        weixin: function () {
            if (!window.wx)return void console.log("请先引入微信JSSDK！");
            var e = function () {
                wx.config({
                    debug: d.debug,
                    appId: d.appId,
                    timestamp: d.timestamp,
                    nonceStr: d.nonceStr,
                    signature: d.signature,
                    jsApiList: d.jsApiList
                }), wx.error(function () {
                }), wx.ready(function () {
                    var e = {title: p.title, desc: p.desc, link: p.link, imgUrl: p.imgUrl};
                    h("onMenuShareTimeline", e), h("onMenuShareAppMessage", e), h("onMenuShareQQ", e), h("onMenuShareWeibo", e)
                })
            };
            d.appId ? e() : f(e)
        }, weibo: function () {
            var e = "http://service.weibo.com/share/share.php?";
            e += "url=" + encodeURIComponent(u("tsina")), e += "&title=" + encodeURIComponent(p.desc), e += "&pic=" + encodeURIComponent(p.imgUrl), e += "&appkey=" + encodeURIComponent(d.tsina), window.location.href = e
        }, qzone: function () {
            var e = "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?";
            e += "url=" + encodeURIComponent(u("qzone")), e += "&title=" + encodeURIComponent(p.title), e += "&desc=" + encodeURIComponent(p.desc), e += "&summary=" + encodeURIComponent(p.summary), e += "&site=", e += "&pics=" + encodeURIComponent(p.imgUrl), window.open(e, "_blank")
        }, fb: function () {
            var e = "https://www.facebook.com/sharer/sharer.php?";
            e += "u=" + encodeURIComponent(u("facebook")), e += "&display=popup&ref=plugin&src=share_button&app_id=", window.open(e, "_blank")
        }, tw: function () {
            var e = "https://twitter.com/intent/tweet?";
            e += "url=" + encodeURIComponent(u("twitter")), e += "&text=" + encodeURIComponent(p.title), e += "&related=msite", window.location.href = e
        }
    }, g = function () {
        p.title = p.title && p.title.length > 50 ? p.title.substr(0, 50) + "..." : p.title, p.desc = p.desc && p.desc.length > 140 ? p.desc.substr(0, 140) + "..." : p.desc, p.summary = p.summary && p.summary.length > 50 ? p.summary.substr(0, 50) + "..." : p.summary, p.onsuccess = p.onsuccess || c, p.oncancel = p.oncancel || c
    }, v = function () {
        return {type: p.type || "webpage", title: p.title, webUrl: p.link, webImage: p.imgUrl, desc: p.desc}
    }, w = {
        callShare: function (e) {
            "object" == typeof e && -1 !== r.indexOf(e.channelName) && (a(p, e), "weixin" === e.channelName && (a(d, p.cfg), "1" !== o.getParam("_wxdebug") || d.debug || (d.debug = !0)), delete p.cfg, g(), m[p.channelName]())
        }, callAppShare: function (e) {
            a(p, e), delete p.cfg, g();
            var i = function (e) {
                200 === e.result ? p.onsuccess(e) : p.oncancel(e)
            };
            n.isAppEnv && n.fun.callShare(v(), i)
        }, setAppShare: function (e) {
            a(p, e), delete p.cfg, g();
            var i = function (e) {
                200 === e.result ? p.onsuccess(e) : p.oncancel(e)
            };
            n.isAppEnv && n.fun.setShare(v(), i)
        }
    }, _ = {name: "share", version: "0.2.6"}, y = e("sdk/common/index"), b = function () {
        _.callShare = w.callShare, _.setAppShare = w.setAppShare, _.callAppShare = w.callAppShare
    }, x = function () {
        arguments.length > 0 ? y.check(arguments[0].key) && b() : b()
    };
    window.LemSdk && LemSdk.access ? x() : _.config = x, window.LemSdk && (LemSdk.config = y.config), t.exports = _
}, LTK["air/lang/extend"] = function (e, i, t) {
    var a = function (e, i, t) {
        var a;
        if (t === !1)for (a in i)!e.hasOwnProperty(a) && i.hasOwnProperty(a) && (e[a] = i[a]); else for (a in i)i.hasOwnProperty(a) && (e[a] = i[a]);
        return e
    };
    t.exports = a
}, LTK["components/share/share_base"] = function (e, i, t) {
    var a = e("components/player/mPlayer"), n = e("sdk/share/index"), o = e("air/lang/extend"), s = e("air/env/ua"), r = {};
    e("components/langPack/pub"), n.config({key: "iWFeNzVA7669bOni", debug: !1});
    var l = {
        init: function () {
            this._getShareInfo(), s.weixin && (r = this.getShareInfo(), this._weixinUpdate(r))
        },
        _cache: {weixinLayer: null, collectLayer: null, extendObj: null},
        _currentShareInfo: {},
        _currentShareFomartInfo: {},
        _getShareInfo: function () {
            this._currentShareInfo = {
                title: document.title,
                link: location.href,
                desc: $('meta[name="description"]').attr("content"),
                imgUrl: $("body img").length > 0 && $("body img").eq(0).attr("src") || "http://i0.letvimg.com/lc05_img/201601/11/14/37/1436/appLetv.png"
            }, window.info && window.info.share && (window.info.share.imgUrl = window.info.share.imgUrl || window.info.share.img || window.info.share.webImage, window.info.share.link = info.share.link || info.share.webUrl || info.share.url, this._currentShareInfo = $.extend(this._currentShareInfo, window.info.share))
        },
        getShareInfo: function () {
            return this._currentShareInfo
        },
        setShareInfo: function (e) {
            return e = e || {}, e.imgUrl = e.imgUrl || e.img || e.webImage, e.link = e.link || e.webUrl || e.url, this._currentShareInfo = $.extend(this._currentShareInfo, e), this._updateShareInfo(), this._currentShareInfo
        },
        _updateShareInfo: function () {
            s.weixin && this._weixinUpdate(this._currentShareInfo)
        },
        _weixinUpdate: function (e) {
            var i, t = this;
            i = t._cache.extendObj && t._cache.extendObj.customCallback || window.info && window.info.share && window.info.share.customCallback;
            var s = function () {
                t._cache.weixinLayer.hide(), a.show(), i && i()
            }, r = {channelName: "weixin", onsuccess: s};
            n.callShare(o(r, e))
        },
        bindDom: function (e) {
            var i = this;
            e && e.on("tap", function (e) {
                e.preventDefault(), e.stopPropagation();
                var t = $(this).attr("data-type");
                "weixin" == t ? i._weixinAction(t) : i._otherAction(t)
            })
        },
        _otherAction: function (e) {
            var i = this, t = {channelName: e};
            n.callShare(o(t, i._currentShareInfo)), Stats.sendAction({ap: "ch=share&link=" + e})
        },
        _weixinAction: function (e) {
            var i = this;
            if (this._cache.weixinLayer && 0 !== this._cache.weixinLayer.length)this._cache.weixinLayer.show(), a.hide(); else {
                var t = '<div class="j-wx-openTip" style="background:rgba(0,0,0,0.9);position:fixed;left:0;top:0;width:100%;height:101%;z-index:20000;"></div><div class="j-wx-openTip" style="position:fixed;right:25px;top:5px;background:url(' + info.langPack.shareImg + ') no-repeat center center; width:265px; height:35px; background-size:100%;margin:0 auto;z-index:20001"></div>';
                $("body").append(t), this._cache.weixinLayer = $(".j-wx-openTip"), this._cache.weixinLayer.on("tap", function (e) {
                    e.stopPropagation(), i._cache.weixinLayer.hide(), a.show(), $("#uniShare_close").trigger("click")
                }), this._cache.weixinLayer.show(), a.hide()
            }
            $("#uniShare_close").trigger("click"), $("#uniShare_layer").hide(), $("#uniShare_cover").hide(), Stats.sendAction({ap: "ch=share&link=weixin"})
        },
        _weixinCollect: function () {
            var e = this;
            this._cache.collectLayer && 0 != this._cache.collectLayer.length || (tipHTML = '<div class="j-wx-cl-openTip" style="background:rgba(0,0,0,0.9);position:fixed;left:0;top:0;width:100%;height:101%;z-index:20000;"></div><div class="j-wx-cl-openTip" style="position:fixed;right:25px;top:5px;background:url(' + info.langPack.layerImg2 + ') no-repeat center center; width:265px; height:35px; background-size:100%;margin:0 auto;z-index:20001"></div>', $("body").append(tipHTML), this._cache.collectLayer = $(".j-wx-cl-openTip"), this._cache.collectLayer.on("click", function (i) {
                i.stopPropagation(), e._cache.collectLayer.hide(), a.show()
            })), this._cache.collectLayer.show(), a.hide()
        },
        otherShare: function (e) {
            this._otherAction(e)
        },
        weixinShare: function () {
            this._weixinAction()
        },
        weixinCollect: function () {
            this._weixinCollect()
        }
    };
    l.init(), t.exports = {
        getShareInfo: function () {
            return l.getShareInfo()
        }, setShareInfo: function (e) {
            return l.setShareInfo(e)
        }, bind: function (e) {
            l.bindDom(e)
        }, otherShare: function (e) {
            l.otherShare(e)
        }, weixinShare: function () {
            l.weixinShare()
        }, weixinCollect: function () {
            l.weixinCollect()
        }, setCallBack: function (e) {
            l._cache.extendObj = e
        }
    }
}, LTK["components/share/share_ui_imitateApp"] = function (e, i, t) {
    var a = e("components/util/events"), n = e("components/share/share_base"), o = "", s = info.region || "CN";
    "CN" === s && (o = '<div class="shareBox" style=" display:block"><ul><li class="ico_weixin" id="uniShare_weixin" data-type="weixin" style="display:none;"><a href="javascript:;"><i></i><span>' + info.langPack.wx + '</span></a></li><li class="ico_qq"  id="uniShare_qqzone" data-type="qzone"><a href="javascript:;"><i style="background:url(http://i0.letvimg.com/img/201503/25/1718/QQ.png) no-repeat;background-size:100%"></i><span>' + info.langPack.qq + '</span></a></li><li class="ico_weibo" id="uniShare_weibo" data-type="weibo"><a href="javascript:;"><i style="background:url(http://i2.letvimg.com/img/201503/25/1718/xinlang.png) no-repeat;background-size:100%"></i><span>' + info.langPack.wb + '</span></a></li><li class="ico_pyq" id="uniShare_timeline"   style="display:none;"><a href="javascript:;"><i></i><span>朋友圈</span></a></li></ul><div class="qx_btn"><p class="qx"><a id="uniShare_close" href="javascript:;">' + info.langPack.cancel + "</a></p></div></div>"), ("HK" === s || "US" === s || "IN" === s) && (o = '<div class="shareBox" style=" display:block"><ul><li class="ico_weixin" id="uniShare_weixin" data-type="weixin" style="display:none;"><a href="javascript:;"><i></i></a></li><li class="ico_twitter"  id="uniShare_twitter" data-type="tw"><a href="javascript:;"><i style="background:url(http://i0.letvimg.com/lc05_img/201606/03/11/19/1118/twitter.png) no-repeat;background-size:100%"></i></a></li><li class="ico_facebook" id="uniShare_facebook" data-type="fb"><a href="javascript:;"><i style="background:url(http://i0.letvimg.com/lc05_img/201606/03/11/19/1118/facebook.png) no-repeat;background-size:100%"></i></a></li><li class="ico_pyq" id="uniShare_timeline"   style="display:none;"><a href="javascript:;"><i></i></a></li></ul><div class="qx_btn"><p class="qx"><a id="uniShare_close" href="javascript:;">cancel</a></p></div></div>');
    var r, l, c, d = {
        css: '<style type="text/css">.block_layer{ position:fixed; width:100%; height:100%; background:rgba(0,0,0,0.7); z-index:100; left:0; top:0;}.shareBox .qx_btn{clear:both;margin-bottom:18px}.shareBox .qx_btn .qx{width:60%;height:30px;line-height:30px;margin:0 auto;text-align:center;border:1px solid #00a0e9;border-radius:4px}.shareBox .qx_btn .qx a{display:block;width:100%;height:100%;color:#00a0e9;font-size:12px}.shareBox{position:fixed;width:100%;height:auto;left:0;bottom:0;background:#fff;background:rgba(255,255,255,0.9);text-align:center;z-index:101;display:none}.shareBox ul{width:100%;text-align:center;-webkit-padding-start:0}.shareBox li{display:inline-block;margin:0 16px 16px 16px;color:#fff;list-style:none}.shareBox a{text-decoration:none}.shareBox a:hover{color:#529bef}.shareBox li i{display:block;width:46px;height:46px;margin:0 auto;background-size:100%;margin-top:9px;margin-bottom:9px}.shareBox span{color:#5c5c5c;font:12px/1.14 "FAE8F6F96C59ED1",Arial,sans-serif,"5B0B8BF53"}.shareBox .ico_weixin i{background:url(http://i0.letvimg.com/img/201503/25/1718/weixin.png) no-repeat;background-size:100%} .shareBox .ico_pyq i{background:url(http://i3.letvimg.com/img/201503/25/1718/pyq.png) no-repeat;background-size:100%}.fadeInUp{-webkit-animation:fadeInUp .5s linear .2s 1;-ms-animation:fadeInUp .5s linear .2s 1;-moz-animation:fadeInUp .5s linear .2s 1;-o-animation:fadeInUp .5s linear .2s 1;animation:fadeInUp .5s linear .2s 1;-webkit-animation-fill-mode:forwards}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0px,100%,0px);transform:translate3d(0px,100%,0px)}100%{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0px,100%,0px);transform:translate3d(0px,100%,0px)}100%{opacity:1;-webkit-transform:none;transform:none}}@-moz-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0px,100%,0px);transform:translate3d(0px,100%,0px)}100%{opacity:1;-webkit-transform:none;transform:none}}@-o-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0px,100%,0px);transform:translate3d(0px,100%,0px)}100%{opacity:1;-webkit-transform:none;transform:none}}</style>',
        shareHtml: o,
        coverHTML: '<div id="uniShare_cover" class="block_layer" style="display:none;"></div>'
    }, p = {
        init: function () {
            this._createShareButton()
        }, _createShareLayer: function () {
            r || l || ($("head").append(r = $(d.css)), $("body").append(l = $(d.shareHtml)).append(coverHTML = $(d.coverHTML)), $("#uniShare_close, #uniShare_cover").on("click", function () {
                coverHTML.hide(), l.hide()
            }), $("#uniShare_close, #uniShare_cover, .shareBox").on("touchmove", function (e) {
                e.preventDefault()
            }), /MicroMessenger/i.test(navigator.userAgent) && $("#uniShare_weixin").show(), $(".shareBox").on("click", "li", $.proxy(this._startShare, this)))
        }, _createShareButton: function () {
            var e = this;
            window.info && window.info.share && window.info.share.shareButton && (0 == $("#j-btn-showhide").length && $("body").append($('<div class="up-letv" id="j-btn-showhide"></div>')), 0 == $("#j-btn-showhide .diy_share").length && ($("head").append('<style>.up-letv{position:fixed;right:8px;bottom:65px;width:50px;z-index:99;}.up-letv .diy_share{width:50px;height:50px;text-indent:-3000px;position:absolute;left:0;top:0;color:#f9a038;font-size:16px;text-align:center;line-height:50px;background:url("http://i2.letvimg.com/img/201503/25/1647/share_btn.png") no-repeat left top; background-size:100%;}</style>'), $("#j-btn-showhide").append(c = $('<span data-type="weixin"><a href="javascript:;"><b class="diy_share">分享</b></a></span>'))), $("#j-btn-showhide").show(), $("#j-btn-showhide .diy_share").show().on("click", function () {
                e.show()
            }))
        }, changeEvent: function (e) {
            $("#j-btn-showhide .diy_share").off("click").on("click", function () {
                e()
            })
        }, show: function () {
            this._createShareLayer(), coverHTML.show(), l.show()
        }, hide: function () {
            coverHTML.hide(), l.hide()
        }, bindDom: function (e) {
            var i = this;
            e && e.on("click", function (e) {
                e.preventDefault(), i.show()
            })
        }, setShareInfo: function (e) {
            n.setShareInfo(e)
        }, _startShare: function (e) {
            e.preventDefault();
            var i = $(e.target).closest("li"), t = i.attr("data-type");
            a.emit("sendDataShare", t), "weixin" === t ? n.weixinShare() : n.otherShare(t)
        }
    };
    p.init(), t.exports = {
        show: function () {
            p.show()
        }, hide: function () {
            p.hide()
        }, bind: function (e) {
            p.bindDom(e)
        }, changeEvent: function (e) {
            p.changeEvent(e)
        }
    }
}, LTK["components/app/appAddList"] = function (e, i, t) {
    var a = {
        tv: ["1711_2_1002696317"],
        movie: ["1711_1_1002697474"],
        sports: ["1711_4_1002696794"],
        zongyi: ["1711_11_1002696813"],
        comic: ["1711_5_1002696762"],
        vip: ["1711_1000_1002697479"],
        music: ["1711_9_1002697478"],
        news: ["1711_1009_1002698457"],
        qinzi: ["1711_34_1002697460"],
        nba: ["1711_1004_1002697497"],
        finance: ["1711_22_1002697461"],
        fashion: ["1711_20_1002700424"],
        jilu: ["1711_16_1002697542"],
        auto: ["1711_14_1002699936"],
        travel: ["1711_23_1002697252"],
        gaoxiao: ["1711_1010_1002702325", le.api_host.m_href + "/"],
        dubi: ["1711_1001", le.api_host.m_href + "/"],
        hot: ["hot"],
        live_lunbo: ["Live_lunbo", le.api_host.m_href + "/live/"],
        live_weishi: ["Live_weishi", le.api_host.m_href + "/live/list/channel/weishi/"],
        live_ent: ["Live_ent", le.api_host.m_href + "/live/list/channel/ent/"],
        live_music: ["Live_music", le.api_host.m_href + "/live/list/channel/music/"],
        live_other: ["Live_other", le.api_host.m_href + "/live/list/channel/letv_other/"],
        special: ["Topics", le.api_host.m_href + "/"],
        me_record: ["Me_Record", le.api_host.m_href + "/history"],
        pay: ["Me_Checkout", le.api_host.zhifu + "/mz/tobuy/pro"],
        "pay.reg": ["Me_Checkout", le.api_host.zhifu + "/mz/tobuy/regular"],
        "pay.pro": ["Me_Checkout", le.api_host.zhifu + "/mz/tobuy/pro"],
        me: ["Me_Login", le.api_host.m_href + "/my/"],
        setpannel: ["NiceApp", le.api_host.m_href + "/my/"],
        search: ["Search", le.api_host.m_href + "/search"],
        soft: ["NiceApp", le.api_host.m_href + "/static/soft"]
    };
    t.exports = a
}, LTK["components/app/apph5Adapter"] = function (e, i, t) {
    var a = {}, n = {env: ""}, o = e("sdk/bridge/index"), s = e("components/user/getUserInfo"), r = e("components/share/share_base"), l = e("components/share/share_ui_imitateApp"), c = e("components/app/appAddList");
    o.config({key: "iWFeNzVA7669bOni", debug: !1});
    var d = function (e, i) {
        h[e] ? h[e]["default"] = i : alert("appAdapter no find this method")
    };
    a.setMethod = d;
    var p = function () {
        var e = [], i = [];
        for (var t in h)e.push(t);
        var o = function () {
            if (0 !== i.length) {
                var e = i.shift();
                e(), arguments.callee()
            }
        }, s = function () {
            if (0 === e.length)return void o();
            var t = e.shift();
            a[t] = h[t][n.env], h[t].init && i.push(h[t].init), arguments.callee()
        }, r = function () {
            for (var e in h)a[e] = h[e]["default"], h[e].init && h[e].init()
        };
        "app" === n.env ? s() : r()
    }, h = {
        isApp: {
            name: "isAppEnv", app: function () {
                return "app" === n.env ? !0 : !1
            }, "default": function () {
                return h.isApp.app()
            }
        }, getVersion: {
            name: "core.getVersion", app: function (e) {
                o.app.getVersion(function (i) {
                    e(i)
                })
            }, "default": function (e) {
                e({result: 200, version: "msite"})
            }
        }, getUserInfo: {
            name: "core.getUserInfo", app: function (e) {
                o.user.getInfo(function (i) {
                    e(i)
                })
            }, "default": function (e) {
                s(e)
            }
        }, getNetworkState: {
            name: "core.getNetworkState", app: function (e) {
                o.network.getInfo(function (i) {
                    e(i)
                })
            }, "default": function (e) {
                e({})
            }
        }, getPowerLevel: {
            name: "core.getPowerLevel", app: function (e) {
                o.device.getPowerLevel(function (i) {
                    e(i)
                })
            }, "default": function (e) {
                e({})
            }
        }, autoPlay: {
            name: "fun.autoPlay", app: function (e, i) {
                o.video.auto(e, function (e) {
                    i(e)
                })
            }, "default": function (e, i) {
                i({})
            }
        }, getDeviceInfo: {
            name: "core.getDeviceInfo", app: function (e) {
                o.device.getInfo(function (i) {
                    e(i)
                })
            }, "default": function (e) {
                e({})
            }
        }, callLogin: {
            name: "fun.callLogin", app: function () {
                o.user.login(function (e) {
                })
            }, "default": function (e) {
                location.href = le.api_host.sso_http + "/user/mloginHome?next_action=" + encodeURIComponent(location.href)
            }
        }, callLogout: {
            name: "fun.callLogout", app: function (e) {
                o.user.logout(function (i) {
                    e(i)
                })
            }, "default": function (e) {
                $.ajax({
                    url: le.api_host.sso_http + "/user/loginout?jsonp=?",
                    dataType: "jsonp",
                    jsonp: "jsonp",
                    success: function () {
                        e && e.next_action ? location.href = e.next_action : location.href = le.api_host.m_href
                    }
                })
            }
        }, callWebview: {
            name: "fun.callWebview", app: function (e, i) {
                e = e || {}, e.url = h.callWebview.map(e.url) || "Home", e.params && (e.params.title && (e.url += "_" + e.params.title), e.params.url && (e.url += "_" + e.params.url)), o.webview.open(e, function (e) {
                    i(e)
                })
            }, "default": function (e) {
                e = e || {}, location.href = h.callWebview.map(e.url) || le.api_host.m_href
            }, map: function (e) {
                var i = c[e];
                return i ? "app" === n.env ? i[0] : 1 === i.length ? le.api_host.m_href + "/" + e : i[1] : e
            }
        }, callAlert: {
            name: "fun.callAlert", app: function (e, i) {
                o.alert.toast(e, function (e) {
                    i(e)
                })
            }, "default": function (e) {
                "alert" === e.type && alert(e.text)
            }
        }, callShare: {
            name: "fun.callShare", init: function () {
                "app" === n.env && l.changeEvent(function () {
                    h.callShare.app()
                })
            }, app: function (e, i) {
                var t = h.callShare.argumentsFormat(arguments);
                o.share.callShare(h.callShare.setShare(t.shareInfo), function (e) {
                    t.callback(e)
                })
            }, "default": function (e, i) {
                h.callShare.setShare(e), e && "function" == typeof e.showCustomLayer ? e.showCustomLayer() : l.show()
            }, setShare: function (e) {
                e = e || {};
                var i = r.setShareInfo(e);
                return i.type = "webpage", i.title = e.title, i.webUrl = e.link || e.webUrl, i.webImage = e.imgUrl || e.img || e.webImage, i.desc = e.desc, i
            }, argumentsFormat: function (e) {
                var i;
                return i = e && 2 === e.length ? {shareInfo: e[0], callback: e[1]} : {
                    shareInfo: r.getShareInfo(),
                    callback: e && 1 === e.length && "function" == typeof e ? e[0] : function () {
                    }
                }
            }
        }, setShare: {
            name: "fun.setShare", init: function () {
                "app" === n.env && h.setShare.app(function () {
                })
            }, app: function (e, i) {
                var t = h.callShare.argumentsFormat(arguments);
                o.share.setShare(h.callShare.setShare(t.shareInfo), function (e) {
                    t.callback(e)
                })
            }, "default": function (e) {
            }
        }, playVideo: {
            name: "fun.playVideo", app: function (e, i) {
                e.type = "1", e.screen = e.screen || 1, e.vid = e.id || e.vid, o.video.play(e, function (e) {
                    i(e)
                })
            }, "default": function (e) {
                e.vid = e.id || e.vid, location.href = le.api_host.m_href + "/vplay_" + e.vid + ".html"
            }
        }, playLiveVideo: {
            name: "fun.playLiveVideo", app: function (e, i) {
                e.type = "2", e.screen = e.screen || 1, e.liveid = e.id || e.liveid, e.channel = e.channel || "other", o.video.playLive(e, function (e) {
                    i(e)
                })
            }, "default": function (e) {
                e.liveid = e.id || e.liveid, e.channel = e.channel || "other", location.href = le.api_host.m_href + "/live/play_" + e.channel + ".html?id=" + e.liveid
            }
        }, callBrowser: {
            name: "fun.callBrowser", app: function (e, i) {
                e = e || {}, e.url = e.url || le.api_host.m_href, o.browser.view(e, function (e) {
                })
            }, "default": function (e, i) {
                e = e || {}, location.href = e.url || le.api_host.m_href
            }
        }, callScanCode: {
            name: "fun.callScanCode", app: function (e) {
                o.qrcode.scan(function (i) {
                    e(i)
                })
            }, "default": function (e, i) {
            }
        }
    };
    n.env = o.app.isAppEnv ? "app" : "browser", p(), le.app = a, t.exports = {setMethod: a.setMethod}
}, LTK["components/player/checkNetwork"] = function (e, i, t) {
    "use strict";
    var a = (e("components/app/apph5Adapter"), e("air/env/ua")), n = {
        isInited: !1, check: function (e) {
            var i = this;
            this.isWifi = !1, this.isInited = !1;
            var t = /NetType\/WIFI/gi;
            t.test(navigator.userAgent) && (this.isWifi = !0), this.callback = e, this.timer = setTimeout(function () {
                i.doCallback()
            }, 2e3), a.ios && a.letvClient || a.android && a.letvClient && !a.superLetvClient ? le.app.getNetworkState(function (e) {
                "wifi" === e.type && (i.isWifi = !0), i.doCallback()
            }) : this.doCallback()
        }, doCallback: function () {
            clearTimeout(this.timer), this.isInited || this.callback.call(this, this.isWifi), this.isInited = !0
        }
    };
    t.exports = n
}, LTK["components/sendStat/error_report"] = function (e, i, t) {
    "use strict";
    var a = {
        send: function (e) {
            var i = "http://115.182.63.150/onlineError", t = "CN";
            window.info && window.info.region && (t = window.info.region);
            var a = {
                url: window.location.href,
                tm: (new Date).getTime(),
                ua: navigator.userAgent,
                scode: "",
                ecode: "",
                emsg: "",
                bline: "",
                ref: document.referrer || "",
                from: "javascript",
                region: t,
                msg: ""
            }, n = $.extend(a, e);
            $.ajax({
                url: i, dataType: "jsonp", data: n, success: function (e) {
                    console.log(e)
                }
            })
        }
    };
    t.exports = a
}, LTK["components/player/vodPlayer"] = function (e, i, t) {
    "use strict";
    var a = e("components/player/constant"), n = e("components/player/checkNetwork"), o = e("components/util/events"), s = e("components/sendStat/error_report"), r = function () {
    };
    r.prototype = {
        constructor: r, init: function (e) {
            this.initDom(e), n.check($.proxy(this.initVodPlayer, this)), this.initEvent()
        }, initDom: function (e) {
            this.config = e, this.vodPlayer = null
        }, initEvent: function () {
            var e = this;
            o.off("setFullScreen", $.proxy(this.onSetFullScreen, this)), o.on("setFullScreen", $.proxy(this.onSetFullScreen, this)), o.on("setPlayerSize", function (i, t) {
                try {
                    e.vodPlayer.setSize(i, t)
                } catch (a) {
                    console.log(a)
                }
            })
        }, onSetFullScreen: function (e) {
            try {
                this.vodPlayer.setFullScreen(e)
            } catch (i) {
                console.log(i)
            }
        }, initVodPlayer: function (e) {
            var i = this, t = "https:" === window.location.protocol ? 1 : 0, n = {
                containerId: "j-player",
                pname: "MPlayer",
                mmDetect: 0,
                UIType: "min",
                preload: 0,
                ch: Stats.BR,
                pid: "",
                vid: "",
                isHttps: t,
                autoplay: e ? "1" : "0",
                event: {
                    onPlayerInit: function () {
                        o.emit("playerInit", i.vodPlayer), e && le.app.isApp() && le.app.autoPlay({domId: i.config.videoId}, function () {
                        })
                    }, onPlayerVideoPlay: function () {
                        o.emit("playerVideoPlay")
                    }, onPlayerVideoPause: function () {
                        o.emit("playerVideoPause")
                    }, onPlayerVideoResume: function () {
                        o.emit("playerVideoResume")
                    }, onPlayerVideoComplete: function () {
                        o.emit("playerVideoComplete");
                        var e = i.config.continueSt;
                        return {status: e}
                    }, onPlayerPlayNext: function () {
                        o.emit("playerPlayNext")
                    }, onDisplayTrylook: function (e, i) {
                        o.emit("displayTrylook"), o.emit("vodPlayerTryLook", i.type)
                    }, onAppGuide: function (e, i) {
                        window.info.appGuideTime = window.info.appGuideTime || parseInt(i.cutoffTime), o.emit("playerAppGuide", i)
                    }, onAppguideEnd: function () {
                        o.emit("appGuideEnd")
                    }, onChangeFullscreen: function (e, i) {
                        return o.emit("playerChangeFullscreen", i), "custom"
                    }, onFirstLook: function () {
                        o.emit("onFirstLook")
                    }, onPlayerPlayError: function (e, i) {
                        o.emit("playerPlayError", i), s.send({bline: "play_video", ecode: i.code})
                    }
                },
                "interface": {
                    openLoginDialog: function () {
                        o.emit("playerOpenLoginDialog")
                    }, openApp: function (e) {
                        o.emit("playerOpenApp", e)
                    }
                }
            }, r = $.extend(n, this.config), l = a.getLocal();
            LETV_PLAYER.config && LETV_PLAYER.config(l), this.vodPlayer = new LETV_PLAYER.Player(r, a.VIDEO_KEY)
        }
    }, t.exports = r
}, LTK["projects/vodPlay/vodPlayer"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/util/Url").getParam(), o = e("components/app/callApp"), s = e("components/player/vodPlayer"), r = {
        init: function (e) {
            this.initDom(), this.initVodPlayer(e), this.initEvent(e)
        }, initDom: function () {
        }, initEvent: function () {
            var e = this;
            a.on("customPause", function () {
                e.player.pause()
            }), a.on("onFirstLook", function () {
                window.info.playerFirstLook = !0
            }), a.on("playerVideoPlay", function () {
                a.emit("playerStartPlay")
            }), a.on("playId", function (i, t) {
                e.player.playId(i, t)
            }), a.on("getPlayerTime", function (i) {
                i(e.player.getCurrentState())
            }), a.on("changeDefi", function (i) {
                e.player.changeDefi(i)
            }), a.on("playPause", function () {
                e.player.pause()
            }), a.on("playerError", function (e) {
                Stats.feStat({code: "playerError", scode: e.code})
            }), a.on("playerPay", function () {
                Stats.feStat({code: "playerPay"})
            }), a.on("playerOpenLoginDialog", $.proxy(this.playerOpenLoginDialog, this)), a.on("playerOpenApp", $.proxy(this.playerOpenApp, this)), a.on("playerInit", $.proxy(this.onPlayerInit, this))
        }, onPlayerInit: function () {
            this.player = this.Player.vodPlayer
        }, initVodPlayer: function (e) {
            var i = {
                containerId: e.containerId,
                vid: e.vid,
                pid: e.pid,
                zid: e.zid,
                ark: e.ark || "100",
                appGuideTime: e.appGuideTime || 0,
                ch: e.ch || n.ch || n.ref || n.q2,
                continueSt: e.isContinue ? "playerContinue" : "pageContinue"
            };
            e.htime && (i.htime = e.htime), this.Player = new s, this.Player.init(i), this.player = this.Player.vodPlayer
        }, playerOpenLoginDialog: function () {
            window.location.href = le.api_host.sso_http + "/user/mloginHome?next_action=" + encodeURIComponent(window.location.href)
        }, playerOpenApp: function (e) {
            var i = "", t = "";
            switch (e.openType) {
                case"auth-ban":
                    i = "authBan";
                    break;
                case"app-guide":
                    Stats.sendAction({ap: info.shareAgent ? "fl=di&dp=msite_player_weixin_appguide_2" : "fl=di&dp=msite_player_appguide_2"}), i = "appTryLook", t = "FIFTEEN";
                    break;
                case"firstlook":
                    i = "firstlook";
                    break;
                default:
                    i = "playEnd"
            }
            var a = window.__playerOpenApp || {};
            a[i] = a[i] || {}, o.call({
                position: "overlay",
                daoliuConfig: {
                    pid: window.info.pid,
                    vid: window.info.vid,
                    type: "play",
                    layerTipType: t,
                    url: a[i].url || "",
                    wxUrl: a[i].wxUrl || "",
                    thirdApp: a[i].thirdApp || {}
                }
            })
        }
    };
    t.exports = r
}, LTK["air/util/tpl"] = function (e, i, t) {
    var a = function (e, i) {
        this.tpl = e, this.mix = i
    };
    a.prototype = {
        render: function (e, i) {
            if (!e || !this.tpl)return "";
            i = i || this.mix;
            var t, a, n, o = "function" == typeof i, s = this.tpl, r = "";
            if ("string" == typeof s) {
                var l, c = s.replace(/[\r\n\t]/g, "").replace(/\'/g, "\\'").replace(/\\{/g, "\\u001").replace(/\\}/g, "\\u002").split("{"), d = "return '" + c[0] + "'";
                for (t = 1, a = c.length; a > t; t++)l = c[t].split("}"), d += l[0].indexOf("$item.") < 0 ? "+($item." + l[0] + "==null ? '' : $item." + l[0] + ")+'" + l[1] + "'" : "+(" + (l[0].indexOf("[[") < 0 ? l[0] : l[0].replace(/\[\[/g, "'").replace(/\]\]/g, "'")) + ")+'" + l[1] + "'";
                s = this.tpl = new Function("$item", d.replace(/\\u001/g, "{").replace(/\\u002/g, "}"))
            }
            if (e.sort && e.join)for (t = 0, a = e.length; a > t; t++)n = e[t], o && i(n, t), r += s(n); else o && i(e, 0), r = s(e);
            return r
        }
    }, a.render = function (e, i, t) {
        if (!i)return "";
        var a, n, o, s, r = "function" == typeof t, l = "", c = e.replace(/[\r\n\t]/g, "").replace(/\'/g, "\\'").replace(/\\{/g, "\\u001").replace(/\\}/g, "\\u002").split("{"), d = "return '" + c[0] + "'";
        for (a = 1, n = c.length; n > a; a++)s = c[a].split("}"), d += s[0].indexOf("$item.") < 0 ? "+($item." + s[0] + "==null ? '' : $item." + s[0] + ")+'" + s[1] + "'" : "+(" + (s[0].indexOf("[[") < 0 ? s[0] : s[0].replace(/\[\[/g, "'").replace(/\]\]/g, "'")) + ")+'" + s[1] + "'";
        if (e = new Function("$item", d.replace(/\\u001/g, "{").replace(/\\u002/g, "}")), i.sort && i.join)for (a = 0, n = i.length; n > a; a++)o = i[a], r && t(o, a), l += e(o); else r && t(i, 0), l = e(i);
        return l
    }, a.simple = function (e, i) {
        return i || (i = {}), e.replace(/{(\w+)}/g, function (e, t) {
            return i[t] || (0 === i[t] ? "0" : "")
        })
    }, t.exports = a
}, LTK["projects/vodPlay/components/swiperList"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = function () {
    };
    n.prototype = {
        constructor: n, init: function (e) {
            this.initDom(e), this.initEvent(), this.initSwiper()
        }, initDom: function (e) {
            if (this.cardname = e.cardname || "", this.currentPage = e.currentPage, this.currentPage || (this.currentPage = 1), this.pageNum = e.pageNum || !1, this.option = e.option, this.isGo = e.isGo, this.hasLoad = !0, this.prePage = this.currentPage - 1, this.nextPage = this.currentPage + 1, this.container = e.container, this.$swiperTip = $('<a class="slip_tip ani_1" href="javascript:;"><u class="icon_font icon_down"></u><i>' + info.langPack.slidemore + '</i><u class="icon_font icon_down"></u></a>'), this.swiperTipShow = !1, this.needHideTip = !1, this.$containerTitle = this.container.parents(".column_box").find(".column_tit"), this.containterBox = this.container.find(".sideslip_wrapper"), this.freeMode = e.freeMode || !1, this.isLoadmore = e.isLoadmore || !1, this.contentStr = e.contentStr || "", this.screenSize = e.screenSize, this.noTip = e.noTip, this.swiperCallback = e.swiperCallback, !this.pageNum) {
                var i = this.pageSize = e.pageSize, t = this.totalSize = e.totalSize;
                t % i > 0 ? (this.pageNum = Math.floor(t / i) + 1, this.lastpageSize = t % i) : this.pageNum = Math.floor(t / i)
            }
        }, initSwiper: function () {
            this.flag = "init", "" !== this.contentStr && this.appendContent(this.contentStr)
        }, showSwiperTip: function () {
            var e = this.$containerTitle.find(".juji_num");
            this.noTip || !this.swiper || this.container.hasClass("juji_par") || this.swiper.slides.length <= 1 || (e.length > 0 && "none" === e.css("display") || 0 === e.length) && (this.$containerTitle.append(this.$swiperTip), this.swiperTipShow = !0)
        }, hideSwiperTip: function () {
            this.swiperTipShow && this.needHideTip && (this.$swiperTip.addClass("ani_2"), this.swiperTipShow = !1, this.needHideTip = !1)
        }, changeend: function (e) {
            var i, t;
            if (this.isGo && this.pageSize && "episode" == this.cardname) {
                var t = parseInt($($(this.containterBox.find(".sideslip_slide")[e.activeIndex]).find("a")[0]).attr("data-tit"));
                if (isNaN(t))return i = Math.floor(e.activeIndex / 10) + this.prePage + 1, void a.emit("swiperOption_episode", i, "change");
                i = t % this.pageSize > 0 ? Math.floor(t / this.pageSize) + 1 : Math.floor(t / this.pageSize), a.emit("swiperOption_episode", i, "change")
            }
            if (this.isGo && this.option) {
                var n = $($(this.containterBox.find(".sideslip_slide")[e.activeIndex]).find("a")[0]).attr("data-tit");
                if (!n)return;
                t = n.substring(0, 4);
                for (var o = 0; o < this.option.length; o++)t == this.option[o] && (i = o + 1);
                a.emit("swiperOption_episode", i, "change")
            }
        }, touchmove: function (e) {
            this.isLoadmore && (e.isBeginning && e.touches.diff > 0 && this.prePage > 0 && this.hasLoad && (this.moveflag = !0, this.flag = "pre", this.hasLoad = !1, this.swiperCallback(this.prePage)), e.isEnd && e.touches.diff < 0 && this.nextPage <= this.pageNum && this.hasLoad && (this.moveflag = !0, this.flag = "next", this.hasLoad = !1, this.swiperCallback(this.nextPage)))
        }, reachEnd: function (e) {
            this.isLoadmore && e.activeIndex >= 0 && this.nextPage <= this.pageNum && this.hasLoad && (this.flag = "next", this.hasLoad = !1, this.swiper.lockSwipes(), this.swiperCallback(this.nextPage))
        }, reachBeginning: function (e) {
            this.isLoadmore && Math.abs(e.touches.diff) > 0 && this.prePage > 0 && this.hasLoad && (this.change = !1, this.flag = "pre", this.hasLoad = !1, this.swiper.lockSwipes(), this.swiperCallback(this.prePage))
        }, initEvent: function () {
            var e = this, i = "onorientationchange" in window ? "orientationchange" : "resize";
            window.addEventListener(i, function () {
                setTimeout(function () {
                    if (e.swiper) {
                        var i = $(window).width(), t = $(window).height();
                        e.swiper.onResize(), e.swiper.update();
                        var a = e.container.find(".cur").parent().index();
                        a >= 0 && e.swiper.slideTo(a, 0, !1), i > t ? $(window).on("scroll", function () {
                            a = e.container.find(".cur").parent().index(), e.swiper.activeIndex != a && a >= 0 && e.swiper.slideTo(a, 0, !1)
                        }) : $(window).unbind("scroll")
                    }
                }, 500)
            }, !1), a.on("swiperComplete_" + this.cardname, $.proxy(this.appendContent, this)), a.on("swiperCompleteChange_" + this.cardname, $.proxy(this.changeContent, this)), a.on("swiperNextVideo_" + this.cardname, $.proxy(this.swiperNextVideo, this))
        }, swiperNextVideo: function (e) {
            var i = this.container.find(".cur").parent().index();
            if (i >= 0)this.loadNext = !1, this.swiper.slideTo(i, 10, !0), i == this.swiper.slides.length - 1 && (this.loadNext = !0), this.getNextVid(); else if (this.hasLoad && this.pageSize && "episode" == this.cardname && (this.hasLoad = !1, e || this.swiper.lockSwipes(), this.loadNext = !0, this.swiperCallback(window.info.curPage, "option")), this.hasLoad && this.option && window.info.episode) {
                for (var t, a = window.info.episode.substring(0, 4), n = 0; n < this.option.length; n++)if (a == this.option[n])return void(t = n + 1);
                this.hasLoad = !1, this.swiper.lockSwipes(), this.loadNext = !0, this.swiperCallback(t, "option")
            }
        }, changeContent: function (e, i) {
            var t = this;
            this.currentPage = i, i > 0 && (this.prePage = i - 1), i <= this.pageNum && (this.nextPage = i + 1), this.change = !0;
            var a;
            this.prePage > 0 ? (this.changeContent = e, this.flag = "pre", this.hasLoad = !1, this.swiperCallback(this.prePage)) : (this.containterBox.html(e), this.hasLoad = !0, this.swiper.unlockSwipes(), this.loadNext ? (a = this.container.find(".cur").parent().index(), a >= 0 && (this.swiper.slideTo(a, 0, !1), this.changeend(this.swiper), this.getNextVid())) : (this.swiper.slideTo(0, 0, !1), this.changeend(this.swiper))), setTimeout(function () {
                t.doLazyLoad()
            }, 300)
        }, appendContent: function (e, i) {
            var t = this;
            if (this.dataSize = i, "init" == this.flag) {
                "episode" == this.cardname && t.containterBox.hide(), t.containterBox.html(e);
                var a = 1;
                t.freeMode && (a = "auto"), this.swiper = new Swiper(t.container, {
                    freeMode: t.freeMode,
                    slidesPerView: a,
                    observer: !0,
                    observeParents: !0,
                    preloadImages: !1,
                    touchMoveStopPropagation: !0,
                    freeModeMomentumBounce: !1,
                    resistanceRatio: 0,
                    longSwipesRation: .1,
                    touchEventsTarget: "sideslip_container",
                    slideClass: "sideslip_slide",
                    wrapperClass: "sideslip_wrapper",
                    onTouchMove: function (e) {
                        $(window).unbind("scroll"), t.touchmove(e)
                    },
                    onTransitionStart: function (e) {
                        setTimeout(function () {
                            t.changeend(e)
                        }, 500)
                    },
                    onTransitionEnd: function (e) {
                        t.doLazyLoad(), t.hideSwiperTip()
                    },
                    onReachEnd: function (e) {
                        t.reachEnd(e)
                    },
                    onReachBeginning: function (e) {
                        t.reachBeginning(e)
                    },
                    onTouchEnd: function () {
                        t.needHideTip = !0
                    }
                });
                var n = t.container.find(".cur").parent().index(), o = t.container.find(".sideslip_slide").length;
                n >= 0 ? 0 == n && t.prePage > 0 ? (t.flag = "pre", t.hasLoad = !1, t.swiperCallback(this.prePage)) : ("episode" == t.cardname && (t.containterBox.show(), t.swiper.update()), n == o - 1 && (this.slideCur = !0)) : (t.containterBox.show(), t.swiper.update());
                var s = $(window).width(), r = $(window).height();
                s > r ? $(window).on("scroll", function () {
                    n = t.container.find(".cur").parent().index(), t.swiper.activeIndex != n && t.swiper.slideTo(n, 0, !1)
                }) : t.swiper.slideTo(n, 0, !1), t.showSwiperTip()
            } else if ("next" === this.flag) {
                var n;
                t.swiper.appendSlide(e), this.moveflag && setTimeout(function () {
                    t.swiper.slideTo(1, 100, !1)
                }, 0), this.slideCur && setTimeout(function () {
                    n = t.container.find(".cur").parent().index(), n >= 0 && t.swiper.slideTo(n, 0, !0)
                }, 0), this.loadNext && setTimeout(function () {
                    n = t.container.find(".cur").parent().index(), n >= 0 && t.swiper.slideTo(n, 10, !0)
                }, 0), t.hasLoad = !0, t.swiper.unlockSwipes(), t.nextPage += 1
            } else if ("pre" === this.flag) {
                var n;
                this.change ? t.containterBox.html(e + this.changeContent) : t.swiper.prependSlide(e), t.hasLoad = !0, t.swiper.unlockSwipes(), t.prePage -= 1, t.swiper.update(), setTimeout(function () {
                    t.pageSize && (t.loadNext ? (n = t.container.find(".cur").parent().index(), n >= 0 && (t.swiper.slideTo(n, 0, !1), t.changeend(t.swiper))) : (t.swiper.slideTo(t.pageSize / t.screenSize, 0, !1), t.changeend(t.swiper)), "episode" == t.cardname && "none" == t.containterBox.css("display") && (t.containterBox.show(), t.swiper.update())), i && (n = i % t.screenSize > 0 ? Math.floor(i / t.screenSize) + 1 : Math.floor(i / t.screenSize), t.loadNext ? (n = t.container.find(".cur").parent().index(), t.swiper.slideTo(n, 0, !1), t.changeend(t.swiper), t.getNextVid()) : (t.swiper.slideTo(n, 0, !1), t.changeend(t.swiper)))
                }, 0)
            }
            setTimeout(function () {
                t.getNextVid(), t.doLazyLoad()
            }, 0)
        }, doLazyLoad: function () {
            this.container.find("i[data-src]").imglazyload({isVertical: !1})
        }, getNextVid: function () {
            for (var e, i = this.container.find(".j_videoItem"), t = !1, a = 0; a < i.length; a++) {
                if (i.eq(a).hasClass("cur")) {
                    if ("episode" == this.cardname && "" == i.eq(a + 1).attr("data-vid")) {
                        t = !0;
                        continue
                    }
                    window.nextvid = i.eq(a + 1).attr("data-vid");
                    break
                }
                if (t) {
                    if ("" == i.eq(a).attr("data-vid"))continue;
                    window.nextvid = i.eq(a).attr("data-vid");
                    break
                }
            }
            if ("periodPoint" === this.cardname && !window.nextvid) {
                e = i.eq(0).attr("data-vid"), i = $("#j-period").find(".j_videoItem");
                for (var n = 0; n < i.length; n++)if (i.eq(n).attr("data-vid") == e) {
                    window.nextPeriodvid = i.eq(n + 1).attr("data-vid");
                    break
                }
            }
        }
    }, t.exports = n
}, LTK["air/string/thousand"] = function (e, i, t) {
    t.exports = function (e) {
        return String(e).replace(/(\d{1,3})(?=(\d{3})+(?:$|\.))/g, "$1,")
    }
}, LTK["projects/vodPlay/components/util"] = function (e, i, t) {
    "use strict";
    var a = {
        thousand: e("air/string/thousand"), formatCount: function (e) {
            if (parseInt(e, 10) >= 0) {
                var i = "";
                return i = 1e4 > e ? this.thousand(e) : 1e8 > e ? "zh_cn" === info.lang || "zh_hk" === info.lang ? (e / 1e4).toFixed(1) + info.langPack.item_w : 1e6 > e ? (e / 1e3).toFixed(1) + " K" : (e / 1e6).toFixed(1) + " M" : "zh_cn" === info.lang || "zh_hk" === info.lang ? (e / 1e8).toFixed(1) + info.langPack.item_y : 1e9 > e ? (e / 1e6).toFixed(1) + " M" : 1e12 > e ? (e / 1e9).toFixed(1) + " B" : (e / 1e12).toFixed(1) + " T"
            }
            return ""
        }, formatTime: function (e) {
            var i = !1, t = "00";
            e >= 3600 && (i = !0, t = Math.floor(e / 3600), t = t >= 10 ? t : "0" + t, e -= 3600 * t);
            var a = Math.floor(e / 60) >= 10 ? Math.floor(e / 60) : "0" + Math.floor(e / 60), n = e % 60 >= 10 ? e % 60 : "0" + e % 60, o = a + ":" + n;
            return i && (o = t + ":" + a + ":" + n), o
        }, formatDate: function (e) {
            if (e += "", e && 8 === e.length) {
                var i = e.slice(0, 4), t = e.slice(4, 6), a = e.slice(6, 8);
                return i + "-" + t + "-" + a
            }
            return ""
        }, getLoadingHtml: function () {
            return '<div style="height: 10rem; position:relative;"><div class="loader">Loading...</div></div>'
        }, getCountHtml: function (e) {
            return '<li class="ico_playNum"><i class="icon_font icon_playNum1"></i><span>' + e + "</span></li>"
        }, getDiscussHtml: function (e) {
            return '<li class="ico_cmtNum"><i class="icon_font icon_cmt2"></i><span>' + e + "</span></li>"
        }, sendClickStat: function (e) {
            Stats.sendAction({acode: "0", ap: e})
        }
    };
    t.exports = a
}, LTK["projects/vodPlay/components/swiperQuick"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("projects/vodPlay/components/swiperList"), o = e("projects/vodPlay/components/util"), s = function () {
    };
    s.prototype = {
        constructor: s, init: function (e) {
            this.initDom(e), this.initSwiperquick(), this.initEvent()
        }, initDom: function (e) {
            this.cardname = e.cardname || "", this.pageSize = e.pageSize || !1, this.totalSize = e.totalSize || !1, this.currentPage = e.currentPage, this.currentOption = e.currentOption, this.isLoadimg = e.isLoadimg || !1, this.option = e.option || !1, this.showOption = e.showOption, this.optionPageNum = this.option ? this.option.length : !1, this.swiperCallback = e.swiperCallback, this.containerSwitch = e.containerSwitch, this.containerOption = e.containerOption, this.container = e.container, this.contentStr = e.contentStr, this.screenSize = e.screenSize, this.swiperOption = new n, this.swiperList = new n
        }, initEvent: function () {
            this.containerSwitch.on("click", "a", $.proxy(this.onSwitchClicked, this)), this.containerOption.on("click", "a", $.proxy(this.onTitleItemClicked, this)), this.container.on("click", ".j_videoItem", $.proxy(this.onItemClicked, this)), a.on("swiperOption_episode", $.proxy(this.setSwiperCurpage, this)), a.on("programShow", $.proxy(this.programShow, this))
        }, programShow: function () {
            var e = this;
            this.containerOption.show(), setTimeout(function () {
                $(e.containerOption).find(".sideslip_wrapper").css({width: "10000px"}), e.swiperOption.swiper.update(!0)
            }, 0), setTimeout(function () {
                a.emit("swiperOption_episode", e.currentPage)
            }, 0)
        }, onItemClicked: function (e) {
            e.preventDefault();
            var i = $(e.currentTarget), t = i.attr("data-vid");
            if (t != info.vid && t) {
                var n = this.swiperList.cardname;
                a.emit("playVideoNoRefresh", {vid: t, from: n}), o.sendClickStat(i.attr("data-stat"));
                var s, r, l = i.parent().index();
                if (this.pageSize) {
                    if (this.swiperList.swiper.slideTo(l, 200, !1), r = parseInt(i.attr("data-tit")), isNaN(r))return;
                    s = r % this.pageSize > 0 ? Math.floor(r / this.pageSize) + 1 : Math.floor(r / this.pageSize), a.emit("swiperOption_episode", s)
                }
                if (this.option) {
                    var c = i.attr("data-tit");
                    if (!c)return;
                    r = c.substring(0, 4);
                    for (var d = 0; d < this.option.length; d++)r == this.option[d] && (s = d + 1);
                    a.emit("swiperOption_episode", s)
                }
            }
        }, onSwitchClicked: function () {
            var e = this;
            "none" == this.containerOption.css("display") ? (this.containerOption.show(), setTimeout(function () {
                $(e.containerOption).find(".sideslip_wrapper").css({width: "10000px"}), e.swiperOption.swiper.update(!0)
            }, 0), this.containerSwitch.find("u").removeClass("open").addClass("close"), this.containerSwitch.find("u").addClass("ani_roate2"), setTimeout(function () {
                e.containerSwitch.find("u").removeClass("ani_roate2")
            }, 1e3), this.containerSwitch.find("i").html(info.langPack.colp), setTimeout(function () {
                a.emit("swiperOption_episode", e.currentPage)
            }, 0)) : (this.containerOption.hide(), this.containerSwitch.find("u").removeClass("close").addClass("open"), this.containerSwitch.find("u").addClass("ani_roate3"), setTimeout(function () {
                e.containerSwitch.find("u").removeClass("ani_roate3")
            }, 1e3), this.optionstr && this.containerSwitch.find("i").html(this.optionstr[this.currentPage - 1]), this.option && this.containerSwitch.find("i").html(this.option[this.currentPage - 1]))
        }, setSwiperCurpage: function (e, i) {
            if (e) {
                var t = "";
                this.optionstr && (t = this.optionstr[e - 1]), this.option && (t = this.option[e - 1]), this.currentPage = e, i && $(this.containerOption.find(".sideslip_slide")[e - 1]).hasClass("cur") || (this.containerOption.find(".cur").removeClass("cur"), $(this.containerOption.find(".sideslip_slide")[e - 1]).addClass("cur"), this.swiperOption.swiper.slideTo(e - 2, 0, !1), "none" == this.containerOption.css("display") && this.containerSwitch.find("i").html(t))
            }
        }, onTitleItemClicked: function (e) {
            var i = $(e.currentTarget), t = i.index();
            if (!i.hasClass("cur")) {
                this.currentPage = t + 1, this.swiperList.loadNext = !1, this.swiperList.slideCur = !1, this.swiperList.hasLoad && (this.swiperList.hasLoad = !1, this.swiperList.swiper.lockSwipes(), this.swiperCallback(this.currentPage, "option"), i.parent().find(".cur").removeClass("cur"), i.addClass("cur"));
                var a = "msite_play_" + this.cardname + "_pageTitle_click";
                "US" == info.region && (a = "msite_play_" + this.cardname + "_pageTitle_" + info.region + "_hw"), Stats.sendAction({
                    acode: "0",
                    ap: a
                })
            }
        }, initSwiperquick: function () {
            var e = "", i = "";
            if (this.option) {
                for (var t = 0; t < this.option.length; t++)this.currentOption == this.option[t] && (this.currentPage = t + 1), e += '<a class="sideslip_slide int_value ">' + this.option[t] + "</a>";
                this.containerSwitch.find("i").html(this.option[this.currentPage - 1]), this.option.length <= 1 ? this.containerSwitch.hide() : this.doExpore()
            } else {
                var a = this.pageSize, n = this.totalSize;
                n % a > 0 ? (this.pageNum = Math.floor(n / a) + 1, this.lastpageSize = n % a) : this.pageNum = Math.floor(n / a), this.optionstr = [];
                for (var t = 0; t < this.pageNum; t++) {
                    var o = t + 1, s = o * a - (a - 1), r = o * a;
                    o == this.pageNum && this.lastpageSize > 0 && (r = s + this.lastpageSize - 1), i = r > s ? s + "-" + r : s, this.optionstr[t] = i, e += '<a class="sideslip_slide int_value ">' + i + "</a>"
                }
                this.containerSwitch.find("i").html(this.optionstr[this.currentPage - 1]), this.optionstr.length <= 1 ? this.containerSwitch.hide() : this.doExpore()
            }
            this.containerOption.hide(), this.showOption && (this.programShow(), this.hasExp || this.doExpore()), this.swiperOption.init({
                cardname: this.cardname + "option",
                container: this.containerOption,
                pageSize: this.pageSize,
                totalSize: this.totalSize,
                currentPage: this.currentPage,
                isLoadmore: !1,
                freeMode: !0,
                pageNum: this.optionPageNum,
                option: this.option,
                contentStr: e
            }), this.swiperList.init({
                cardname: this.cardname,
                container: this.container,
                pageSize: this.pageSize,
                totalSize: this.totalSize,
                screenSize: this.screenSize,
                isLoadmore: !0,
                currentPage: this.currentPage,
                contentStr: this.contentStr,
                pageNum: this.optionPageNum,
                option: this.option,
                isGo: !0,
                noTip: this.showOption,
                swiperCallback: this.swiperCallback
            })
        }, doExpore: function () {
            var e = "msite_play_" + this.cardname + "_pageTitle_exposure";
            "US" == info.region && (e = "msite_play_" + this.cardname + "_pageTitle_" + info.region + "_hw"), Stats.sendAction({
                acode: "41",
                ap: e
            }), this.hasExp = !0
        }
    }, t.exports = s
}, LTK["projects/vodPlay/episode"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/util/tpl"), o = e("projects/vodPlay/components/swiperQuick"), s = e("projects/vodPlay/components/util"), r = {
        init: function (e) {
            this.initDom(e), this.initEvent(), this.initEpisode()
        }, initDom: function (e) {
            this.config = e || {}, this.episodeType = this.getEpisodeType(), this.$container = $("#j-episode"), this.$containerBody = this.$container.find(".column_body"), this.$containerTit = this.$container.find(".column_tit"), 1 === this.episodeType && (this.fillTitleText(), this.$containerBody.html('<div class="sideslip_container juji_par"><div class="sideslip_wrapper"></div></div><div class="sideslip_container"><div class="sideslip_wrapper"></div></div>'), this.$containerTit.append('<a class="juji_num" href="javascript:;"><i></i><u class="open icon_triangle"></u></a>'), this.containerOption = $(this.$containerBody.find(".sideslip_container")[0]), this.container = $(this.$containerBody.find(".sideslip_container")[1]), this.containerSwitch = this.$containerTit.find("a"), this.screenSize = 5), this.pageSize = e.pageSize, this.totalSize = e.totalSize, this.currentPage = e.currentPage, this.dataCache = {}, this.dataCache[this.config.currentPage] = this.config.data, this.renderData = this.config.data, this.contentStr = this.getContentTpl(), 0 === this.episodeType && this.$containerBody.html(this.contentStr)
        }, initEvent: function () {
            "onorientationchange" in window ? "orientationchange" : "resize";
            this.$container.on("click", ".reloadSinglePage", $.proxy(this.reloadSinglePage, this)), a.on("nextVideoReady", $.proxy(this.onNextVideoReady, this))
        }, reloadSinglePage: function (e) {
            var i = $(e.currentTarget), t = i.attr("data-page");
            this.getDataByPage(t)
        }, onNextVideoReady: function () {
            for (var e = window.info.vid, i = this.$container.find(".j_videoItem"), t = null, n = 0; n < i.length; n++)t = i.eq(n), t.attr("data-vid") == e ? t.addClass("cur") : t.removeClass("cur");
            a.emit("swiperNextVideo_episode")
        }, getDataByPage: function (e, i) {
            var t = this;
            if (this.dataCache[e])return this.renderData = this.dataCache[e], this.contentStr = this.getContentTpl(), void(i && "option" == i ? a.emit("swiperCompleteChange_episode", t.contentStr, e) : a.emit("swiperComplete_episode", t.contentStr));
            var n = this.requestConfig, o = this.pageSize;
            $.ajax({
                url: le.api_host.d_api + "/apiplay/dynamicCard",
                dataType: "jsonp",
                type: "get",
                data: {
                    pagesize: o,
                    vid: n.vid,
                    pid: n.pid,
                    page: e,
                    isPositive: n.isPositive,
                    isColumn: n.isColumn,
                    knownpage: 1,
                    type: "episode",
                    lang: info.lang,
                    region: info.region
                },
                success: function (n) {
                    if ("200" === n.code) {
                        if (t.$container.height("auto"), !(n.data && n.data.episode && n.data.episode.list)) {
                            var o = t.containerOption.find(".cur").index();
                            return void t.fillErrorByPage(o + 1)
                        }
                        if (0 === n.data.episode.list.length) {
                            for (var s = n.data.episode, r = [], l = (e - 1) * s.page_size + 1, c = e * s.page_size; c >= l; l++)r.push({title: l});
                            n.data.episode.list = r
                        }
                        t.container.find(".sideslip_wrapper").find(".no_loading").remove(), t.dataCache[e] = n.data.episode.list, t.renderData = n.data.episode.list, t.contentStr = t.getContentTpl(), i && "option" == i ? a.emit("swiperCompleteChange_episode", t.contentStr, e) : a.emit("swiperComplete_episode", t.contentStr)
                    }
                },
                error: function () {
                    t.$container.height("auto"), t.fillErrorByPage(e)
                }
            })
        }, fillErrorByPage: function (e) {
            var i = "";
            0 === this.episodeType && (i = '<i class="icon_font icon_tou"></i>');
            var t = '<div class="column no_loading active">' + i + "<p>" + info.langPack.errtip + '</p><p><a class="reloadSinglePage red" data-page="' + e + '">' + info.langPack.errref + "</a></p></div>";
            this.container.find(".sideslip_wrapper").html(t)
        }, initEpisode: function () {
            var e = window.info || {}, i = e.langPack.episo;
            if (1 === e.ptvcid && (i = e.langPack.list), this.$container.find(".column_tit h2").html(i), !this.renderData || 0 === this.renderData.length)return void this.$container.remove();
            var t = e.videoType;
            this.requestConfig = {
                pid: e.pid,
                vid: e.vid,
                cid: e.ptvcid,
                episode: e.episode,
                isPositive: t.isPositive,
                isColumn: t.isColumn
            }, 1 === this.episodeType ? (this.swiperQuick = new o, this.swiperQuick.init({
                cardname: "episode",
                container: this.container,
                containerSwitch: this.containerSwitch,
                containerOption: this.containerOption,
                pageSize: this.pageSize,
                totalSize: this.totalSize,
                screenSize: this.screenSize,
                currentPage: this.currentPage,
                contentStr: this.contentStr,
                swiperCallback: $.proxy(this.getDataByPage, this)
            }), Stats.sendAction({
                acode: "41",
                ap: "msite_play_episode_grid_exposure"
            })) : Stats.sendAction({acode: "41", ap: "msite_play_episode_exposure"})
        }, fillTitleText: function () {
            var e = this.getEpisodeTitle();
            this.$container.find(".column_tit").append(e)
        }, getContentTpl: function () {
            if (this.renderData && 0 !== this.renderData.length) {
                var e = this, i = '<a class="j_videoItem slide_box {curClass}{vipClass}{misClass}{preClass}" data-vid="{vid}" data-tit="{title}" data-stat="{sendData}" href="{url}">{title}</a>';
                0 === this.episodeType && (i = '<a data-vid="{vid}" data-stat="{sendData}" href="{url}" class="a_zhengpian j_videoItem a_tempStat leftRig {curClass}"><div class="part_stat"><img src="//i2.letvimg.com/lc05_img/201601/06/17/46/1744/a_bg.png"><i data-src="{pic}"></i><em>{showCorner}</em><span class="icon_font icon_statePlay"></span></div><div class="part_auto"><h3>{showTitle}</h3>{showSubTitle}<ul class="num_box">{showPlayCounter}</ul></div></a>');
                var t = new n(i, function (i) {
                    if (i.curClass = i.vipClass = i.preClass = i.misClass, i.pic && (i.pic = i.pic.replace(/^http:\/\//g, "//")), 1 === e.episodeType ? i.sendData = "msite_play_episode_grid_click" : i.sendData = "msite_play_episode_click", i.vid == info.vid && (i.curClass = " cur"), 1 === i.is_pay && i.payPlatform && i.payPlatform[141001] && (i.vipClass = " ico_jujiVip"), 1 === i.is_pre && (i.preClass = " ico_jujiPre"), i.vid || (i.misClass = " setMiss", i.url = "javascript:;", i.title = info.langPack.miss), 0 === e.episodeType) {
                        if (i.showTitle = i.nameCn, i.a_vipClass = "", i.showSubTitle = "<p>" + i.subTitle + "</p>", i.showCorner = s.formatTime(i.duration), i.showPlayCounter = i.showDiscussCounter = "", i.count && i.count.media_play_count > 0) {
                            var t = s.formatCount(i.count.media_play_count);
                            i.showPlayCounter = s.getCountHtml(t)
                        }
                        if (i.count && i.count.vcomm_count > 0) {
                            var a = i.count.vreply || 0, n = s.formatCount(i.count.vcomm_count + a);
                            i.showDiscussCounter = s.getDiscussHtml(n)
                        }
                    }
                });
                if (1 === e.episodeType) {
                    for (var a = this.renderData.length / this.screenSize, o = "", r = {}, l = 0; a > l; l++)o += '<div class="sideslip_slide juji">', r = this.renderData.slice(l * this.screenSize, l * this.screenSize + this.screenSize), o += t.render(r), o += "</div>";
                    return o
                }
                return t.render(this.renderData)
            }
        }, getEpisodeType: function () {
            var e = window.info || {};
            return 2 === e.ptvcid || 5 === e.ptvcid ? 1 : 0
        }, getEpisodeTitle: function () {
            var e = "", i = info.is_end, t = info.now_episode, a = info.total_episode;
            return e = 1 === i || t == a ? t + info.langPack.episo_jq : a ? info.langPack.episo_to + t + info.langPack.episo_j + info.langPack.episo_all + a + info.langPack.episo_j : info.langPack.episo_to + t + info.langPack.episo_j, "<span>" + e + "</span>"
        }
    };
    t.exports = r
}, LTK["projects/vodPlay/zhoubian"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/util/tpl"), o = e("projects/vodPlay/components/swiperList"), s = e("projects/vodPlay/components/util"), r = {
        init: function (e) {
            this.initDom(e), this.initEvent(), this.initZhoubian()
        }, initDom: function (e) {
            this.config = e || {}, this.dataCache = this.config.data, this.$container = $("#j-zhoubian"), this.$containerBody = this.$container.find(".column_body"), this.$containerBody.html('<div class="sideslip_container sideslip" ><div class="sideslip_wrapper"></div></div>'), this.container = this.$containerBody.find(".sideslip_container"), this.currentIndex = 0, this.pageSize = 9, this.screenSize = 3, this.totalSize = e.totalSize, this.setRenderData(this.currentIndex), this.swiperList = new o
        }, setRenderData: function (e) {
            this.currentIndex = e;
            var i = this.dataCache, t = this.pageSize;
            this.renderData = i.slice(e * t, e * t + t), this.contentStr = this.getContentTpl()
        }, initEvent: function () {
        }, getDataByPage: function (e) {
            this.setRenderData(e - 1), a.emit("swiperComplete_zhoubian", this.contentStr)
        }, initZhoubian: function () {
            return this.dataCache && 0 !== this.dataCache.length ? (this.swiperList.init({
                cardname: "zhoubian",
                container: this.container,
                pageSize: this.pageSize,
                totalSize: this.totalSize,
                isLoadmore: !0,
                screenSize: this.screenSize,
                contentStr: this.contentStr,
                swiperCallback: $.proxy(this.getDataByPage, this)
            }), void Stats.sendAction({
                acode: "41",
                ap: "msite_play_zhoubian_exposure"
            })) : void this.$container.remove()
        }, getContentTpl: function () {
            if (this.renderData && 0 !== this.renderData.length) {
                for (var e = '<a class="slide_box {curClass}" data-vid="{vid}" k-name="send-stat" data-stat="{sendData}" href="javascript:;" data-href="/vplay_{vid}.html"><div class="part_stat"><img src="//i3.letvimg.com/lc05_img/201603/01/15/52/playBg.png"  class="a_img"><i data-src="{pic}"></i><em>{formatedDuration}</em><span class="box_bor"><b></b></span><span class="icon_font icon_statePlay"></span></div><h3 class="swp_title" >{title}</h3></a>', i = new n(e, function (e) {
                    e.pic && (e.pic = e.pic.replace(/^http:\/\//g, "//")), e.curClass = "", e.sendData = "{acode:'0', ap:'msite_play_zhoubian_click', vid:'" + e.vid + "', pid:'-'}", e.vid == info.vid && (e.curClass = "cur");
                    var i = e.duration;
                    e.formatedDuration = s.formatTime(i)
                }), t = this.renderData.length / this.screenSize, a = "", o = {}, r = 0; t > r; r++)a += '<div class="sideslip_slide">', o = this.renderData.slice(r * this.screenSize, r * this.screenSize + this.screenSize), a += i.render(o), a += "</div>";
                return a
            }
        }
    };
    t.exports = r
}, LTK["projects/vodPlay/period"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/util/tpl"), o = e("projects/vodPlay/components/swiperQuick"), s = e("projects/vodPlay/components/util"), r = {
        init: function (e) {
            this.initDom(e), this.initEvent(), this.initPeriod()
        }, initDom: function (e) {
            this.config = e, this.$container = $("#j-period"), this.$containerBody = this.$container.find(".column_body"), this.$containerTit = this.$container.find(".column_tit"), this.$containerBody.html('<div class="sideslip_container juji_par"><div class="sideslip_wrapper"></div></div><div class="sideslip_container sideslip"><div class="sideslip_wrapper"></div></div>'), this.fillTitleText(), this.$containerTit.append('<a class="juji_num" href="javascript:;"><i></i><u class="open icon_triangle"></u></a>'), this.containerOption = $(this.$containerBody.find(".sideslip_container")[0]), this.container = $(this.$containerBody.find(".sideslip_container")[1]), this.containerSwitch = this.$containerTit.find("a"), this.currentYear = e.currentYear, this.years = e.years, this.screenSize = 3, this.dataCache = {};
            var i = 0;
            if (this.years)for (var t = 0; t < this.years.length; t++)this.currentYear == this.years[t] && (i = t);
            this.dataCache[i] = this.config.data, this.renderData = this.config.data, this.contentStr = this.getContentTpl()
        }, initEvent: function () {
            this.$container.on("click", ".reloadSinglePage", $.proxy(this.reloadSinglePage, this)), a.on("nextVideoReady", $.proxy(this.onNextVideoReady, this))
        }, onNextVideoReady: function () {
            for (var e = window.info.vid, i = this.$container.find(".j_videoItem"), t = null, n = 0; n < i.length; n++)t = i.eq(n), t.attr("data-vid") == e ? t.addClass("cur") : t.removeClass("cur");
            a.emit("swiperNextVideo_period")
        }, reloadSinglePage: function (e) {
            var i = $(e.currentTarget), t = i.attr("data-page");
            this.getDataByPage(t)
        }, initPeriod: function () {
            if (!this.renderData || 0 === this.renderData.length)return void this.$container.remove();
            var e = window.info, i = e.videoType;
            this.requestConfig = {
                pid: e.pid,
                vid: e.vid,
                cid: e.ptvcid,
                episode: e.episode,
                isPositive: i.isPositive,
                isColumn: i.isColumn
            }, this.swiperQuick = new o, this.swiperQuick.init({
                cardname: "period",
                container: this.container,
                containerSwitch: this.containerSwitch,
                containerOption: this.containerOption,
                currentPage: this.currentPage,
                currentOption: this.currentYear,
                contentStr: this.contentStr,
                option: this.years,
                screenSize: this.screenSize,
                swiperCallback: $.proxy(this.getDataByPage, this)
            }), Stats.sendAction({acode: "41", ap: "msite_play_period_exposure"})
        }, fillTitleText: function () {
            var e = this.getEpisodeTitle();
            this.$container.find(".column_tit").append(e)
        }, getDataByPage: function (e, i) {
            if (!(e > this.years.length)) {
                var t = 0;
                if (this.dataCache[e - 1])return this.renderData = this.dataCache[e - 1], this.contentStr = this.getContentTpl(), t = this.renderData.length, void(i && "option" == i ? a.emit("swiperCompleteChange_period", this.contentStr, e) : a.emit("swiperComplete_period", this.contentStr, t));
                var n = this.requestConfig, o = this, s = o.years[e - 1];
                $.ajax({
                    url: le.api_host.d_api + "/apiplay/dynamicCard",
                    dataType: "jsonp",
                    type: "get",
                    data: {
                        pid: n.pid,
                        vid: n.vid,
                        cid: n.cid,
                        episode: n.episode,
                        isPositive: n.isPositive,
                        isColumn: n.isColumn,
                        year: s,
                        knownpage: 1,
                        type: "period",
                        lang: info.lang,
                        region: info.region
                    },
                    success: function (n) {
                        if ("200" === n.code) {
                            if (o.$container.height("auto"), !n.data || !n.data.period || !n.data.period.list || 0 === n.data.period.list.length) {
                                var s = o.containerOption.find(".cur").index();
                                return void o.fillErrorByPage(s + 1)
                            }
                            o.container.find(".sideslip_wrapper").find(".no_loading").remove(), o.dataCache[e - 1] = n.data.period.list, o.renderData = n.data.period.list, o.contentStr = o.getContentTpl(), t = o.renderData.length, i && "option" == i ? a.emit("swiperCompleteChange_period", o.contentStr, e) : a.emit("swiperComplete_period", o.contentStr, t)
                        }
                    },
                    error: function () {
                        o.$container.height("auto"), o.fillErrorByPage(e)
                    }
                })
            }
        }, fillErrorByPage: function (e) {
            var i = '<div class="column no_loading active"><i class="icon_font icon_tou"></i><p>' + info.langPack.errtip + '</p><p><a class="reloadSinglePage red" data-page="' + e + '">' + info.langPack.errref + "</a></p></div>";
            this.container.find(".sideslip_wrapper").html(i)
        }, addLoading: function () {
            var e = this.pageableList.getCurrentPageContent(), i = s.getLoadingHtml();
            e.html(i)
        }, getContentTpl: function () {
            if (this.renderData && 0 !== this.renderData.length) {
                for (var e = '<a class="j_videoItem slide_box {curClass}" data-vid="{vid}" data-tit="{formatedDate2}" data-stat="{sendData}" href="{url}"><div class="part_stat"><img src="//i3.letvimg.com/lc05_img/201603/01/15/52/playBg.png"  class="a_img"><i data-src="{pic}" ></i>{formatedDate}<span class="box_bor"><b></b></span><span class="icon_font icon_statePlay"></span></div><h3 class="swp_title" >{sub_title}</h3></a>', i = new n(e, function (e) {
                    e.pic && (e.pic = e.pic.replace(/^http:\/\//g, "//")), e.sendData = "msite_play_period_click", e.curClass = "", e.sub_title = e.sub_title || e.title || "", e.vid == info.vid && (e.curClass = "cur"), e.formatedDate = "";
                    var i = s.formatDate(e.episode);
                    i && (e.formatedDate = "<em>" + i + "</em>", e.formatedDate2 = i)
                }), t = this.renderData.length / this.screenSize, a = "", o = {}, r = 0; t > r; r++)a += '<div class="sideslip_slide">', o = this.renderData.slice(r * this.screenSize, r * this.screenSize + this.screenSize), a += i.render(o), a += "</div>";
                return a
            }
        }, getEpisodeTitle: function () {
            var e = s.formatDate(info.now_episode);
            return e ? "<span>" + info.langPack.episo_to_q + e + info.langPack.episo_q + "</span>" : ""
        }
    };
    t.exports = r
}, LTK["projects/vodPlay/periodPoint"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/util/tpl"), o = e("projects/vodPlay/components/util"), s = e("projects/vodPlay/components/swiperList"), r = {
        init: function (e) {
            this.initDom(e), this.initEvent(), this.initPeriodPoint()
        }, initDom: function (e) {
            this.$container = $("#j-periodPoint"), this.$columnTit = this.$container.find(".column_tit"), this.$containerBody = this.$container.find(".column_body"), this.$containerBody.html('<div class="sideslip_container sideslip" ><div class="sideslip_wrapper"></div></div>'), this.container = this.$containerBody.find(".sideslip_container"), this.pageSize = e.totalSize, this.screenSize = 3, this.totalSize = e.totalSize, this.dataCache = e.data, this.renderData = e.data, this.contentStr = this.getContentTpl(), this.swiperList = new s
        }, initEvent: function () {
            this.$container.on("click", ".j_videoItem", $.proxy(this.onItemClicked, this)), a.on("nextVideoReady", $.proxy(this.onNextVideoReady, this)), a.on("periodPointForPeriod", $.proxy(this.getPeriodPoint, this))
        }, onNextVideoReady: function () {
            for (var e = window.info.vid, i = this.$container.find(".j_videoItem"), t = null, n = 0; n < i.length; n++)t = i.eq(n), t.attr("data-vid") == e ? t.hasClass("a_zhengpian") ? t.addClass("cur_nobor") : t.addClass("cur") : t.removeClass("cur").removeClass("cur_nobor");
            a.emit("swiperNextVideo_periodPoint", !0)
        }, onItemClicked: function (e) {
            e.preventDefault();
            var i = $(e.currentTarget), t = i.attr("data-vid");
            if (t != window.info.vid) {
                var n = i.hasClass("a_kandian") ? "kandian" : "";
                a.emit("playVideoNoRefresh", {vid: t, from: n}), o.sendClickStat(i.attr("data-stat"))
            }
        }, initPeriodPoint: function () {
            return this.dataCache && 0 !== this.dataCache.length ? (this.swiperList.init({
                cardname: "periodPoint",
                container: this.container,
                pageSize: this.pageSize,
                totalSize: this.totalSize,
                screenSize: this.screenSize,
                isLoadmore: !1,
                contentStr: this.contentStr
            }), void Stats.sendAction({
                acode: "41",
                ap: "msite_play_periodPoint_exposure"
            })) : void this.$container.hide()
        }, getContentTpl: function () {
            for (var e = '<a href="{url}" data-vid="{vid}" data-stat="{sendData}" class="j_videoItem slide_box topBot {typeClass} {curClass}"><div class="part_stat"><img src="//i3.letvimg.com/lc05_img/201603/01/15/52/playBg.png"  class="a_img"><i data-src="{pic}" ></i><em>{conerText}</em><span class="box_bor"><b></b></span><span class="icon_font icon_statePlay"></span></div><h3 class="swp_title" >{sub_title}</h3></a>', i = new n(e, function (e) {
                e.pic && (e.pic = e.pic.replace(/^http:\/\//g, "//")), e.typeClass = e.curClass = "", e.video_type && e.video_type[180001] ? (e.typeClass = "a_zhengpian", e.conerText = o.formatDate(e.episode), e.sendData = "msite_play_periodPoint_click") : (e.typeClass = "a_kandian", e.conerText = o.formatTime(e.duration), e.sendData = "msite_play_periodPoint_kandian_click"), e.vid == info.vid && ("a_kandian" === e.typeClass ? e.curClass = "cur" : e.curClass = "cur_nobor")
            }), t = this.renderData.length / this.screenSize, a = "", s = {}, r = 0; t > r; r++)a += '<div class="sideslip_slide">', s = this.renderData.slice(r * this.screenSize, r * this.screenSize + this.screenSize), a += i.render(s), a += "</div>";
            return a
        }, getPeriodPoint: function () {
            var e = window.info || {}, i = this, t = le.api_host.d_api + "/apiplay/dynamicCard";
            this.$columnTit.find(".slip_tip").remove(), $.ajax({
                url: t,
                type: "get",
                data: {
                    pid: e.pid,
                    vid: e.vid,
                    cid: e.ptvcid,
                    recVid: e.recVid,
                    episode: e.episode || "",
                    year: e.episode && e.episode.slice(0, 4),
                    isPositive: e.videoType.isPositive,
                    isColumn: e.videoType.isColumn,
                    type: "periodPoint",
                    lang: e.lang,
                    region: e.region
                },
                dataType: "jsonp",
                success: function (e) {
                    if ("200" === e.code && e.data && e.data.periodPoint && e.data.periodPoint.length > 0) {
                        var t = e.data.periodPoint, a = {totalSize: t.length, data: t};
                        "none" === i.$container.css("display") && i.$container.show(), i.$containerBody.html(""), i.initDom(a), i.initPeriodPoint()
                    } else i.$containerBody.html(""), i.$container.hide()
                }
            })
        }
    };
    t.exports = r
}, LTK["projects/vodPlay/liebiao"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/util/tpl"), o = e("projects/vodPlay/components/swiperList"), s = e("projects/vodPlay/components/util"), r = {
        init: function (e) {
            this.initDom(e), this.initEvent(), this.initEpisode()
        }, initDom: function (e) {
            this.config = e || {}, this.dataCache = this.config.data, this.$container = $("#j-liebiao"), this.$containerBody = this.$container.find(".column_body"), this.$containerBody.html('<div class="sideslip_container sideslip" ><div class="sideslip_wrapper"></div></div>'), this.container = this.$containerBody.find(".sideslip_container"), this.pageSize = 9, this.totalSize = e.totalSize, this.currentPage = e.currentPage, this.screenSize = 3, this.dataCache = {}, this.dataCache[this.currentPage] = this.config.data, this.renderData = this.config.data, this.contentStr = this.getContentTpl(), this.swiperList = new o;
            var i = window.info || {}, t = i.videoType || {};
            this.requestConfig = {
                cid: window.info.ptvcid,
                pid: window.info.pid,
                isPositive: t.isPositive,
                isColumn: t.isColumn
            }
        }, initEvent: function () {
            this.$container.on("click", ".j_videoItem", $.proxy(this.itemClicked, this)), this.$container.on("click", ".reloadSinglePage", $.proxy(this.reloadSinglePage, this)), a.on("nextVideoReady", $.proxy(this.onNextVideoReady, this))
        }, reloadSinglePage: function (e) {
            var i = $(e.currentTarget), t = i.attr("data-page");
            this.getDataByPage(t)
        }, onNextVideoReady: function () {
            for (var e = window.info.vid, i = this.$container.find(".j_videoItem"), t = null, n = 0; n < i.length; n++)t = i.eq(n), t.attr("data-vid") == e ? t.addClass("cur") : t.removeClass("cur");
            a.emit("swiperNextVideo_liebiao")
        }, itemClicked: function (e) {
            e.preventDefault();
            var i = $(e.currentTarget), t = i.attr("data-vid");
            t != info.vid && (a.emit("playVideoNoRefresh", {vid: t}), s.sendClickStat(i.attr("data-stat")))
        }, getDataByPage: function (e) {
            var i = this;
            if (this.dataCache[e])return this.renderData = this.dataCache[e], this.contentStr = this.getContentTpl(), void a.emit("swiperComplete_liebiao", this.contentStr);
            var t = this.requestConfig, n = this.pageSize;
            $.ajax({
                url: le.api_host.d_api + "/apiplay/dynamicCard",
                dataType: "jsonp",
                type: "get",
                data: {
                    pagesize: n,
                    cid: t.cid,
                    pid: t.pid,
                    isPositive: t.isPositive,
                    isColumn: t.isColumn,
                    page: e,
                    knownpage: 1,
                    type: "liebiao",
                    lang: info.lang,
                    region: info.region
                },
                success: function (t) {
                    if ("200" === t.code) {
                        if (!t.data || !t.data.liebiao || !t.data.liebiao.list || 0 === t.data.liebiao.list.length)return void i.fillErrorByPage(e);
                        i.container.find(".sideslip_wrapper").find(".no_loading").remove();
                        var n = t.data.liebiao.current_page;
                        i.dataCache[n] = t.data.liebiao.list, i.renderData = t.data.liebiao.list, i.contentStr = i.getContentTpl(), a.emit("swiperComplete_liebiao", i.contentStr)
                    }
                },
                error: function () {
                    i.$container.height("auto"), i.fillErrorByPage(e)
                }
            })
        }, fillErrorByPage: function (e) {
            var i = '<div class="column no_loading active"><i class="icon_font icon_tou"></i><p>' + info.langPack.errtip + '</p><p><a class="reloadSinglePage" data-page="' + e + '" id="j-refresh">' + info.langPack.errref + "</a></p></div>";
            this.container.find(".sideslip_wrapper").html(i)
        }, initEpisode: function () {
            return this.renderData && 0 !== this.renderData.length ? (this.swiperList.init({
                cardname: "liebiao",
                container: this.container,
                pageSize: this.pageSize,
                totalSize: this.totalSize,
                screenSize: this.screenSize,
                isLoadmore: !0,
                isGo: !0,
                currentPage: this.currentPage,
                contentStr: this.contentStr,
                swiperCallback: $.proxy(this.getDataByPage, this)
            }), void Stats.sendAction({acode: "41", ap: "msite_play_liebiao_exposure"})) : void this.$container.remove()
        }, getContentTpl: function () {
            if (this.renderData && 0 !== this.renderData.length) {
                for (var e = '<a class="j_videoItem slide_box {curClass}" data-vid="{vid}" data-stat="{sendData}" href="{url}"><div class="part_stat"><img src="//i3.letvimg.com/lc05_img/201603/01/15/52/playBg.png"  class="a_img"><i data-src="{pic}" ></i><em>{formatedDuration}</em><span class="box_bor"><b></b></span><span class="icon_font icon_statePlay"></span></div><h3 class="swp_title" >{title}</h3></a>', i = new n(e, function (e) {
                    e.curClass = "", e.pic && (e.pic = e.pic.replace(/^http:\/\//g, "//")), e.vid == info.vid && (e.curClass = "cur");
                    var i = e.duration;
                    e.formatedDuration = s.formatTime(i), e.sendData = "msite_play_liebiao_click"
                }), t = this.renderData.length / this.screenSize, a = "", o = {}, r = 0; t > r; r++)a += '<div class="sideslip_slide">', o = this.renderData.slice(r * this.screenSize, r * this.screenSize + this.screenSize), a += i.render(o), a += "</div>";
                return a
            }
        }
    };
    t.exports = r
}, LTK["projects/vodPlay/mainRec"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/util/tpl"), o = e("projects/vodPlay/components/util"), s = {
        init: function (e) {
            var i = this;
            this.initDom(e), this.initEvent(), this.initMainRec(), a.on("mainRecDataOk", function (e) {
                i.data = e, i.initMainRec()
            })
        }, initDom: function (e) {
            this.config = e, this.data = e.data, this.$container = $("#j-mainRec"), this.$containerBody = this.$container.find(".column_body")
        }, initEvent: function () {
        }, initMainRec: function () {
            return this.data && 0 !== this.data.length ? (this.$container.show(), this.getContentTpl(), void Stats.sendAction({
                acode: "41",
                ap: "msite_play_mainRec_exposure"
            })) : void this.$container.hide()
        }, getContentTpl: function () {
            var e = this.data;
            if (e && 0 !== e.length) {
                var i = '<a data-vid="{vid}" k-name="send-stat" data-stat="{sendData}" href="javascript:;" data-href="/vplay_{vid}.html" class="a_zhengpian j_videoItem a_tempStat leftRig"><div class="part_stat"><img src="//i2.letvimg.com/lc05_img/201601/06/17/46/1744/a_bg.png"><i data-src="{pic}"></i></div><div class="part_auto"><h3>{title}</h3><p>' + info.langPack.watch_zp + '</p><ul class="num_box"><li class="ico_playNum"><i class="icon_font icon_playNum1"></i><span>{showPlayCounter}</span></li></ul></div></a>', t = new n(i, function (e) {
                    e.pic && (e.pic = e.pic.replace(/^http:\/\//g, "//")), e.sendData = "{acode:'0', ap:'msite_play_mainRec_click', vid:'" + e.vid + "', pid:'-'}", e.showPlayCounter = "0", e.count && e.count.plist_play_count && (e.showPlayCounter = o.formatCount(e.count.plist_play_count) || "0")
                }), a = t.render(e), s = this.$containerBody;
                s.html(a), s.find("i[data-src]").imglazyload()
            }
        }
    };
    t.exports = s
}, LTK["air/array/each"] = function (e, i, t) {
    t.exports = function (e, i) {
        var t;
        if (e instanceof Array) {
            t = 0;
            for (var a = e.length; a > t && i(t, e[t]) !== !1; t++);
        } else for (t in e)if (e.hasOwnProperty(t) && i(t, e[t]) === !1)break
    }
}, LTK["projects/vodPlay/components/changeList"] = function (e, i, t) {
    "use strict";
    var a = function () {
    };
    a.prototype = {
        constructor: a, init: function (e) {
            this.cardname = e.cardname || "", this.initDom(e), this.initList(), this.bindEvent()
        }, initDom: function (e) {
            this.curIndex = 0, this.container = e.$container, this.changeCallBack = e.changeCallBack, this.className = e.className;
            var i = this.pageSize = e.pageSize, t = this.totalSize = e.totalSize;
            i >= t ? this.pageNum = 1 : this.pageNum = Math.floor(t / i);
            var a = this.container.parent().find(".column_tit");
            this.pageNum > 1 ? this.btnHtml = '<div class="ico_change j-changeBtn"><i class="icon_font icon_change1"></i><span>' + info.langPack.change + "</span></div>" : this.container.parent().parent().addClass("noChangeBtn"), this.className.indexOf("thr_lay") > -1 && (a.addClass("thr_tit"), this.container.addClass("thr_body"))
        }, initList: function () {
            var e = "", i = "";
            if (this.pageNum > 1) {
                for (var t = 0; t < this.pageNum; t++)i += '<div class="' + this.className + '"></div>';
                e = i + this.btnHtml
            } else e = '<div class="' + this.className + '"></div>';
            this.container.html(e), this.lists = this.container.find(".j-itemList"), this.btn = this.container.find(".j-changeBtn"), this.icon = this.btn.find("i")
        }, bindEvent: function () {
            var e = this;
            this.btn.on("tap", function () {
                e.icon.addClass("ani_icon_change"), e.icon.on("webkitAnimationEnd animationend webkitTransitionEnd transitionEnd", function () {
                    var e = $(this);
                    e.off("webkitAnimationEnd animationend webkitTransitionEnd transitionEnd"), e.removeClass("ani_icon_change")
                }), e.curIndex++, e.curIndex >= e.pageNum && (e.curIndex = 0), e.changeCallBack(e.curIndex), e.getCurList().find("i[data-src]").imglazyload(), Stats.sendAction({ap: "msite_play_" + e.cardname + "_changebtn"})
            })
        }, getCurList: function () {
            return this.lists.eq(this.curIndex)
        }
    }, t.exports = a
}, LTK["projects/vodPlay/recommend"] = function (e, i, t) {
    var a = e("components/util/events"), n = (e("air/array/each"), e("air/util/tpl")), o = e("projects/vodPlay/components/util"), s = e("projects/vodPlay/components/swiperList"), r = e("projects/vodPlay/components/changeList");
    a.on("gotoComment", function () {
        l.needAgain = !0, l.init()
    });
    var l = {
        dataCatch: [], hasRender: [], curIndex: 0, inited: !1, init: function (e) {
            if (!info.lejianVideoType && !this.inited) {
                this.inited = !0, this.initDom(), this.config = {
                    url: le.api_host.d_api + "/apiplay/dynamicCard?type=recommend",
                    backupUrl: le.api_host.d_api + "/apiplay/dynamicCard?type=recBackup",
                    total: 20
                }, this.recommendType = this.getRecommendType();
                var i = this.getRecommendTpl();
                this.recTpl = new n(i), this.recCon.html(o.getLoadingHtml()), this.checkCardType(), "episode" == this.cardType ? (this.cartName.html(info.langPack.list), this.screenSize = 3, a.on("nextVideoReady", $.proxy(this.onNextVideoReady, this))) : this.cartName.html(info.langPack.rec), this.setPageSize(), e instanceof Array && e.length || e instanceof Object && e.data && e.data.length ? this.success({
                    code: "200",
                    data: {recommend: e}
                }) : this.send(), Stats.sendAction({ap: "msite_play_recommend_exposure", acode: "41"})
            }
        }, initDom: function () {
            this.container = $("#j-recommend"), this.recCon = this.container.find(".column_body").eq(0), this.cartName = this.container.find("h2").eq(0)
        }, onNextVideoReady: function () {
            for (var e = window.info.vid, i = this.containerSwipe.find(".j_videoItem"), t = null, n = 0; n < i.length; n++)t = i.eq(n), t.attr("data-vid") == e ? t.addClass("cur") : t.removeClass("cur");
            a.emit("swiperNextVideo_recommend")
        }, itemClicked: function (e) {
            e.preventDefault(), Ker.emit("play_nofresh", {vid: window.info.vid})
        }, send: function () {
            var e = this.config, i = {
                isPositive: info.videoType.isPositive,
                isColumn: info.videoType.isColumn,
                vid: info.vid,
                pid: info.pid,
                recVid: info.recVid,
                pagesize: e.total,
                rnd: +new Date,
                lang: info.lang,
                region: info.region
            };
            $.ajax({
                url: e.url + "&callback=?",
                dataType: "json",
                timeout: 5e3,
                data: i,
                success: $.proxy(this.success, this),
                error: $.proxy(this.error, this)
            })
        }, success: function (e) {
            var i = e.data ? e.data.recommend || e.data.recBackup : null;
            if (!i || !i.data)return void $("#j-recommend").remove();
            var t = this.statInfo = i.stat_info || "";
            if (this.statInfo && Stats.sendAction({
                    acode: "19",
                    reid: t.reid,
                    area: t.area,
                    bucket: t.bucket
                }), "episode" == this.cardType)this.dataCacheswipe = i.data, this.$containerBody = this.container.find(".column_body"), this.$containerBody.html('<div class="sideslip_container sideslip" ><div class="sideslip_wrapper"></div></div>'), this.containerSwipe = this.$containerBody.find(".sideslip_container"), this.currentIndex = 0, this.setRenderData(this.currentIndex), this.swiperList = new s, this.swiperList.init({
                cardname: "recommend",
                container: this.containerSwipe,
                pageSize: 9,
                totalSize: this.dataCacheswipe.length,
                screenSize: this.screenSize,
                isLoadmore: !0,
                contentStr: this.contentStr,
                swiperCallback: $.proxy(this.getDataByPage, this)
            }), this.bindEvent(); else {
                if (!i || !i.data)return void $("#j-recommend").remove();
                this.formatData(i.data)
            }
        }, error: function () {
            $.ajax({
                url: this.config.backupUrl + "&callback=?&vid=" + info.vid + "&pid=" + info.pid + "&cid=" + info.ptvcid + "&recVid=" + info.recVid + "&pagesize=" + this.config.total + "&rnd=" + +new Date + "&lang=" + info.lang + "&region=" + info.region,
                dataType: "json",
                timeout: 5e3,
                success: $.proxy(this.success, this),
                error: $.proxy(this.showFail, this)
            })
        }, showFail: function () {
            var e = this, i = '<div class="column no_loading active j-loadRelatedError"><i class="icon_font icon_tou"></i><p>' + info.langPack.errtip + '</p><p><a href="javascript:;" class="j-refresh">' + info.langPack.errref + "</a></p></div>";
            this.recCon.html(i), this.refresh = this.recCon.find(".j-refresh"), this.loadError = this.recCon.find(".j-loadRelatedError"), this.refresh.off("click").on("click", function () {
                e.recCon.html(o.getLoadingHtml()), e.send()
            })
        }, setPageSize: function () {
            var e = this.pageSize;
            this.pageSize = e ? e : "episode" === this.cardType ? 5 : 4, 1 === this.recommendType && (this.pageSize = 6)
        }, formatData: function (e) {
            e.splice(0, 1);
            var i = e.length, t = this.pageSize;
            if (i > t) {
                var n = i % t;
                (n && "episode" !== this.cardType || 1 == n && "episode" == this.cardType) && (e = e.splice(0, i - n), i = e.length)
            }
            this.totalSize = e.length;
            for (var o = t >= i ? 1 : Math.ceil(i / t), s = 0; o > s; s++)this.dataCatch[s] = e.splice(0, t);
            this.controlShow(), this.bindEvent(), this.needAgain && a.emit("gotoCommentAgain")
        }, getHtmlList: function (e) {
            var i = this;
            this.pageSize;
            return this.recTpl.render(e, function (e, t) {
                if (e.pic && (e.pic = e.pic.replace(/^http:\/\//g, "//")), e.picST && (e.picST = e.picST.replace(/^http:\/\//g, "//")), "episode" == i.cardType && e.vid == window.info.vid && (e.videoTypeClass = "cur"), e.url.indexOf("kzt") > -1) {
                    var a = e.url.match(/\/vplay\/\d+_(\d+)_(\d+)_(\d+)_(\d+)\.html/);
                    e.zid = a && a[1], e.pkgid = a && a[2]
                } else e.playCount = e.is_album ? o.formatCount(e.count.plist_play_count) : o.formatCount(e.count.media_play_count), e.cmtCount = e.is_album ? o.formatCount(e.count.pcomm_count) : 1 == e.cid ? o.formatCount(e.count.pcomm_count) : o.formatCount(e.count.vcomm_count), e.zid = "", e.pkgid = "";
                var n = "";
                "episode" == i.cardType ? (n = 'k-name="play_nofresh send-stat" data-vid="' + e.vid + '" data-zid="' + e.zid + '" data-pgzid="' + e.pkgid + "\" data-stat=\"{acode:'0',ap:'msite_play_recommend_click'}\" data-url=\"" + e.url + '"', e.is_recommend && (n += '" data-from="rec"')) : n = (e.is_recommend ? 'k-name="rec_stat send-stat"' : 'k-name="send-stat"') + 'href="javascript:;" data-href="' + e.url + "\" data-stat={acode:'0',ap:'msite_play_recommend_click'}", e.keyHtml = n;
                var s = e.cid, r = e.desc || "";
                if (!parseInt(e.cmtCount) && (e.cmtCount = ""), !parseInt(e.playCount) && (e.playCount = ""), 1 == s)if (e.is_album) {
                    var l = r.directory, c = r.starring, d = r.subCategory;
                    e.tip = e.count.plist_score ? e.count.plist_score + info.langPack.score : "", e.secondary = l ? "<p>" + info.langPack.director + l.replace(/\,|\//g, "，") + "</p>" : "", e.secondary += c ? "<p>" + info.langPack.stars + c.replace(/\,|\//g, "，") + "</p>" : "", e.secondary += d ? '<p class="teshu">' + info.langPack.genre + d + "</p>" : "", e.playCount = "", e.cmtCount = ""
                } else e.tip = r.duration; else if (2 == s)if (e.is_album) {
                    var p = r.total_episode, h = r.nowEpisodes, l = r.directory, c = r.starring;
                    e.tip = r.isEnd ? p ? p + info.langPack.episo_jq : "" : h ? info.langPack.episo_to + h + info.langPack.episo_j : "", e.secondary = l ? "<p>" + info.langPack.director + l.replace(/\,|\//g, "，") + "</p>" : "", e.secondary += c ? "<p>" + info.langPack.stars + c.replace(/\,|\//g, "，") + "</p>" : ""
                } else e.tip = r.duration; else if (5 == s)if (e.is_album) {
                    var p = r.total_episode, h = r.nowEpisodes, u = r.area ? r.area + "，" : "", f = r.releaseDate && r.releaseDate.match(/\d{4}/) ? r.releaseDate.match(/\d{4}/) + "，" : "", m = r.subCategory ? r.subCategory.replace(/\,|\//g, "，") + "，" : "", d = (u + f + m).replace(/，$/, "");
                    e.oneLine = "hh1", e.tip = r.isEnd ? p ? p + info.langPack.episo_jq : "" : h ? info.langPack.episo_to + h + info.langPack.episo_j : "", e.secondary = e.subTitle ? "<p>" + e.subTitle + "</p>" : "", e.secondary += d ? "<p>" + info.langPack.genre + d + "</p>" : ""
                } else e.tip = r.duration; else if (11 == s)if (e.is_album) {
                    var p = r.total_episode, h = r.nowEpisodes, f = r.releaseDate;
                    e.tip = r.isEnd ? p ? p + info.langPack.episo_qq : "" : h ? info.langPack.episo_new + o.formatDate(h) + info.langPack.episo_q : "", e.secondary = e.latest_title ? "<p>" + e.latest_title + "</p>" : ""
                } else {
                    var c = r.starring;
                    e.tip = r.duration, e.secondary = c ? "<p>" + info.langPack.guest + c.replace(/\,|\//g, "，") + "</p>" : ""
                } else if (9 == s)if (e.is_album) {
                    var c = r.singer;
                    e.secondary = c ? "<p>" + info.langPack.artist + c.replace(/\,|\//g, "，") + "</p>" : ""
                } else {
                    var c = r.singer, u = r.area ? r.area + "，" : "", f = r.releaseDate.match(/\d{4}/) ? r.releaseDate.match(/\d{4}/) + "，" : "", g = r.video_type ? r.video_type + "，" : "", v = r.style ? r.style.replace(/\,|\//g, "，") : "", d = (u + f + g + v).replace(/，$/, "");
                    e.oneLine = "hh1", e.tip = r.duration, e.secondary = c ? "<p>" + info.langPack.artist + c.replace(/\,|\//g, "，") + "</p>" : "", e.secondary += d ? "<p>" + info.langPack.genre + d + "</p>" : ""
                } else if (3 == s || 4 == s || 20 == s)e.is_album ? e.secondary = e.subTitle ? "<p>" + e.subTitle + "</p>" : "" : e.tip = e.duration; else if (14 == s || 16 == s || 22 == s || 23 == s || 34 == s)if (e.is_album)e.secondary = e.subTitle ? "<p>" + e.subTitle + "</p>" : ""; else {
                    var d = r.subCategory;
                    e.secondary = d ? "<p>" + info.langPack.genre + d.replace(/\,|\//g, "，") + "</p>" : "", e.tip = e.duration
                }
            })
        }, setRenderData: function (e) {
            this.currentIndex = e;
            var i = this.dataCacheswipe, t = 9;
            this.renderData = i.slice(e * t, e * t + t), this.contentStr = this.getContentTpl()
        }, getContentTpl: function () {
            if (this.renderData && 0 !== this.renderData.length) {
                for (var e = '<a {keyHtml} class="a_tempStat j_videoItem slide_box {curClass}"><div class="part_stat"><img src="//i3.letvimg.com/lc05_img/201603/01/15/52/playBg.png"  class="a_img"><i data-src="{pic}" ></i><span class="box_bor"><b></b></span><span class="icon_font icon_statePlay"></span></div><h3 class="swp_title" >{title}</h3></a>', i = new n(e, function (e) {
                    var i = "";
                    e.pic && (e.pic = e.pic.replace(/^http:\/\//g, "//")), i = 'k-name="play_nofresh send-stat" data-vid="' + e.vid + '" data-zid="' + e.zid + '" data-pgzid="' + e.pkgid + "\" data-stat=\"{acode:'0',ap:'msite_play_recommend_click'}\" data-url=\"" + e.url + '"',
                    e.is_recommend && (i += '" data-from="rec"'), e.keyHtml = i, e.curClass = "", e.vid == info.vid && (e.curClass = "cur")
                }), t = this.renderData.length / this.screenSize, a = "", o = {}, s = 0; t > s; s++)a += '<div class="sideslip_slide">', o = this.renderData.slice(s * this.screenSize, s * this.screenSize + this.screenSize), a += i.render(o), a += "</div>";
                return a
            }
        }, getDataByPage: function (e) {
            this.setRenderData(e - 1), a.emit("swiperComplete_recommend", this.contentStr)
        }, controlShow: function () {
            this.changeList = new r, this.changeList.init({
                cardname: "recommend",
                $container: this.recCon,
                className: 0 === this.recommendType ? "j-itemList" : "j-itemList lay_body thr_lay",
                pageSize: this.pageSize,
                totalSize: this.totalSize,
                changeCallBack: $.proxy(this.changeNext, this)
            }), this.renderCurList()
        }, renderCurEposideList: function () {
            this.curIndex = this.pageableList.currentPage - 1;
            var e = this.pageableList.getCurrentPageContent();
            e.html(this.getHtmlList(this.dataCatch[this.curIndex])), e.find("i[data-src]").imglazyload(), this.hasRender[this.curIndex] = !0
        }, pageNext: function (e) {
            var i = e || this.pageableList.currentPage - 1;
            this.container.height("auto"), this.hasRender[i] || this.renderCurEposideList()
        }, renderCurList: function () {
            this.curIndex = this.changeList.curIndex, this.curList = this.changeList.getCurList(), this.curList.html(this.getHtmlList(this.dataCatch[this.curIndex])), this.hasRender[this.curIndex] = !0
        }, changeNext: function (e) {
            var i = e || this.changeList.curIndex;
            this.hasRender[i] || this.renderCurList(), this.changeList.getCurList().show().animate({opacity: 1});
            for (var e = this.changeList.getCurList().index(), t = 0; t < this.changeList.lists.length; t++)t != e && $(this.changeList.lists[t]).hide().animate({opacity: 0})
        }, bindEvent: function () {
            var e = this.statInfo, i = function (i) {
                Stats.sendAction({
                    cid: e.cid,
                    acode: "17",
                    ap: "ch=msite&pg=play&bk=rec",
                    reid: e.reid,
                    area: e.area,
                    bucket: e.bucket,
                    rank: i
                })
            };
            this.curEl = this.recCon.find("a.a_tempStat.cur"), Ker.on("play_nofresh", function (e, t) {
                var n = $(e);
                n.hasClass("cur") || ("rec" == n.attr("data-from") ? (i(n.index()), setTimeout(function () {
                    a.emit("playVideoNoRefresh", {vid: n.attr("data-vid"), url: n.attr("data-url")})
                }, 1e3)) : a.emit("playVideoNoRefresh", {vid: n.attr("data-vid"), url: n.attr("data-url")}))
            }), Ker.on("rec_stat", function (e, t) {
                var a = $(e);
                i(a.index())
            })
        }, checkCardType: function () {
            var e = info.ptvcid, i = info.videoType;
            if (this.pageSize = 0, "1" == e || "5" == e || "16" == e || "34" == e || "1021" == e)return void(i.isPositive || (this.cardType = "episode"));
            if ("2" == e)i.isPositive || i.isPre && i.isShowPositive || (this.cardType = "episode"); else {
                if ("11" == e)return void(i.isPositive || i.isPart ? i.isPart && !i.isHasPositive && (this.cardType = "episode") : this.cardType = "episode");
                if ("14" == e || "20" == e || "23" == e)return void(i.isColumn || (this.cardType = "episode"));
                if ("4" == e || "22" == e || "17" == e)return void(i.isColumn ? i.isColumn && !i.isPositive && (this.cardType = "episode") : this.cardType = "episode");
                if ("3" == e || "9" == e || "1009" == e)return void(i.isColumn || (this.cardType = "episode", this.pageSize = 10));
                i.isShort && !i.isColumn && (this.cardType = "episode")
            }
        }, getRecommendType: function () {
            return 1 !== info.videoType.isPositive ? 0 : "1" == info.ptvcid || "2" == info.ptvcid || "5" == info.ptvcid || "11" == info.ptvcid || "16" == info.ptvcid ? 1 : 0
        }, getRecommendTpl: function () {
            var e = '<a {keyHtml} class="a_tempStat leftRig {videoTypeClass}"><div class="part_stat"><img src="//i1.letvimg.com/lc05_img/201603/24/18/35/a_bg.jpg"><i data-src="{pic}"></i>{$item.tip ? [[<span class="tip_jishu">]] + $item.tip + [[</span>]] : [[]]}</div><div class="part_auto"><h3 class={oneLine}>{title}</h3>{secondary}<ul class="num_box">{$item.playCount ? [[<li class="ico_playNum"><i class="icon_font icon_playNum1"></i><span>]]+$item.playCount+[[</span></li>]] : [[]]}{$item.cmtCount ? [[<li class="ico_cmtNum"><i class="icon_font icon_cmt2"></i><span>]]+$item.cmtCount+[[</span></li>]] : [[]]}</ul></div></a>';
            return 1 === this.recommendType && (e = '<a {keyHtml} class="a_temp leftRig {videoTypeClass}"><span class="a_img"><img src="//i3.letvimg.com/lc06_img/201603/04/14/50/playVertical.png"><i data-src="{picST}"></i>{$item.tip ? [[<em>]] + $item.tip + [[</em>]] : [[]]}</span><span class="a_cnt"><h3>{title}</h3></span></a>'), e
        }
    };
    t.exports = l
}, LTK["components/touchComp/leTimer"] = function (e, i, t) {
    "use strict";
    var a = {
        setInterval: function (e, i) {
            var t = {}, a = (new Date).getTime();
            return this._interval(e, a, i, t), t
        }, setTimeout: function (e, i) {
            var t = {}, a = (new Date).getTime();
            return this._timeout(e, a, i, t), t
        }, clear: function (e) {
            e && e.timer && window.cancelAnimationFrame(e.timer)
        }, _interval: function (e, i, t, a) {
            var n = this, o = (new Date).getTime(), s = i;
            o - i >= t && (s = o, e && e.call(this)), a.timer = window.requestAnimationFrame(function () {
                n._interval(e, s, t, a)
            })
        }, _timeout: function (e, i, t, a) {
            var n = this, o = (new Date).getTime(), s = i, r = o - i;
            r >= t && 300 > r - t ? (s = o, e && e.call(this), window.cancelAnimationFrame(a.timer)) : a.timer = window.requestAnimationFrame(function () {
                n._timeout(e, s, t, a)
            })
        }
    };
    t.exports = a
}, LTK["projects/vodPlay/daoliu"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/env/ua"), o = e("components/touchComp/leTimer"), s = e("components/app/callApp"), r = {
        init: function () {
            this.initDom(), this.initEvent(), this.initDaoliu()
        }, reInit: function () {
            this.initDom(), this.initDaoliu()
        }, initDom: function () {
            this.$container = $("#j-leappMore"), this.$containerBox = this.$container.find(".column_box");
            var e = window.info;
            this.appGuideTime = e.appGuideTime || 0, this.isTryLook = this.checkIsTryLook(), this.tipsConfig = {}, window.__PromotionApp && __PromotionApp.playfixTip && (this.tipsConfig = le.m.getPromotion.init(__PromotionApp.playfixTip), this.streamConfig = le.m.getPromotion.init(__PromotionApp.playScan), this.downConfig = le.m.getPromotion.init(__PromotionApp.playDownload)), this.storedTip = ""
        }, initEvent: function () {
            this.hasEvent || (this.$container.on("click", ".j-leappMore", $.proxy(this.onDaoliuClicked, this)), a.on("nextVideoReady", $.proxy(this.onNextVideoReadyPre, this)), a.on("appGuideEnd", $.proxy(this.onAppGuideEnd, this)), a.on("daoliuDownStat", $.proxy(this.onDaoliuDownStat, this)), a.on("daoliuStreamStat", $.proxy(this.onDaoliuStreamStat, this)), a.on("daoliuClose", $.proxy(this.onDaoliuClose, this)), this.hasEvent = !0)
        }, onDaoliuDownStat: function () {
            this.changeDaoliuStaus({flag: "down", tipStr: info.langPack.nowapp})
        }, onDaoliuStreamStat: function () {
            this.changeDaoliuStaus({flag: "stream", tipStr: info.langPack.nowapp})
        }, onDaoliuClose: function () {
            this.isTryLook = this.checkIsTryLook(), this.changeDaoliuStaus({flag: "", tipStr: this.storedTip})
        }, checkIsTryLook: function () {
            return 0 != this.appGuideTime && !info.is_pay && info.duration > 60 * this.appGuideTime && !info.playerFirstLook ? !0 : !1
        }, changeDaoliuStaus: function (e) {
            var i = e.flag, t = e.tipStr;
            this.daoliuFlag = i, this.$containerBox.find(".j-leappMore").html(t)
        }, onAppGuideEnd: function () {
            this.$containerBox.find(".j-leappMore").html(info.langPack.duanliutip)
        }, onNextVideoReadyPre: function () {
            setTimeout($.proxy(this.onNextVideoReady, this), 1e3)
        }, onNextVideoReady: function () {
            var e = !1;
            0 != info.appGuideTime && !info.is_pay && info.duration > 60 * info.appGuideTime && (e = !0), (e !== this.isTryLook || this.isTryLook) && this.reInit()
        }, onDaoliuClicked: function (e) {
            e.stopPropagation(), window.info && (window.info.videoBelowDaoliu = !0, setTimeout(function () {
                delete window.info.videoBelowDaoliu
            }, 3e3)), this.onDaoliuClickedStat();
            var i = this.tipsConfig, t = i.vid || info.vid || "", a = t ? "play" : "", o = i.url, r = i.wxUrl, l = i.app, c = n.letvMobile ? "lingxian" : n.android ? "android" : "ios", d = Stats && Stats.BR ? Stats.BR : "letv", p = "pbanner";
            "down" === this.daoliuFlag && (o = this.downConfig.url, r = this.downConfig.wxUrl, l = this.downConfig.app, p = "download", this.isTryLook = !1), "stream" === this.daoliuFlag && (o = this.streamConfig.url, r = this.streamConfig.wxUrl, l = this.streamConfig.app, p = "hd", this.isTryLook = !1), this.isTryLook && (o = info.appGuideUniversalLink || le.api_host.app_m + "/download_general.php?ref=010110468&iref=kkA9k8", r = info.appGuideApplicationLink || "http://a.app.qq.com/o/simple.jsp?pkgname=com.letv.android.client&ckey=CK1328890128755", l = "letv", p = "break"), s.call({
                daoliuConfig: {
                    pid: info.pid,
                    app: l || "",
                    url: o || "",
                    wxUrl: r || "",
                    isTryLook: this.isTryLook,
                    from: "m_" + c + "_" + d + "_" + p,
                    vid: t,
                    type: a
                }
            })
        }, onDaoliuClickedStat: function () {
            var e;
            e = this.isTryLook ? "fl=di&dp=msite_play_fifteenDaoliu_click" : "fl=di&dp=msite_play_threeSpeedDaoliu_click", "down" == this.daoliuFlag && (e = "fl=di&dp=msite_play_toolbarTipsBtnDownload_click"), "stream" == this.daoliuFlag && (e = "fl=di&dp=msite_play_toolbarTipsBtnOpen_click"), info.lejianVideoType && (e = "msite_lejian_download_underplayer_all_all_" + info.region), Stats.sendAction({
                ap: e,
                acode: "0"
            }), o.setTimeout(function () {
                Stats.feStat({code: "err_call_app"})
            }, 5e3)
        }, initDaoliu: function () {
            this.renderDaoliu();
            var e = this.isTryLook ? "fl=di&dp=msite_play_fifteenDaoliu_exposure" : "fl=di&dp=msite_play_threeSpeedDaoliu_exposure";
            Stats.sendAction({ap: e, acode: "41"})
        }, renderDaoliu: function () {
            if (!info.is_pay) {
                var e = this.tipsConfig.tips, i = info.langPack.daoliutip;
                e && e.length > 0 && (i = this.getRandomNum(e)), ("zh_hk" === info.lang || "en_us" === info.lang || "hi_in" === info.lang) && (i = info.langPack.daoliutip), this.isTryLook && (i = "en_us" === info.lang || "hi_in" === info.lang ? info.langPack.preapp : info.langPack.pre + this.appGuideTime + info.langPack.preapp), this.storedTip = i;
                var t = '<div class="j-leappMore breakFlow">' + i + "</div>";
                this.$containerBox.html(t)
            }
        }, getRandomNum: function (e) {
            var i = e.length, t = parseInt(Math.random() * i, 10);
            return e[t]
        }
    };
    t.exports = r
}, LTK["components/langPack/daoliuPay"] = function (e, i, t) {
    "use strict";
    e("components/com_base/global");
    var a = {
        viptxt1: "开通影视会员",
        viptxt2: "续费影视会员",
        viptxt3: "您的会员还有 ",
        viptxt4: " 天到期",
        viptxt5: "您的会员过期了，续费后继续享用<em>会员特权</em>噢",
        viptxt6: "您的会员已过期",
        viptxt7: "您的会员今天将过期"
    }, n = {
        viptxt1: "To be a LeVideo Passholder",
        viptxt2: "Renew LeVideo Passholder",
        viptxt3: "Your membership has ",
        viptxt4: " days left",
        viptxt5: "Your membership has expired",
        viptxt6: "Your membership has been expired",
        viptxt7: "Your membership will expire today"
    }, o = {
        viptxt1: "開通影視會員",
        viptxt2: "續費影視會員",
        viptxt3: "您嘅會員仲有 ",
        viptxt4: " 天到期",
        viptxt5: "您嘅會員過期咗，續費后繼續亯用<em>會員特權</em>",
        viptxt6: "您嘅會員已過期",
        viptxt7: "您的會員今天即將過期"
    }, s = {
        init: function () {
            this.initDom(), this.initLangPack()
        }, initDom: function () {
            this.zh_cn = a, this.en_us = this.hi_in = n, this.zh_hk = o
        }, initLangPack: function () {
            info.langPack ? $.extend(info.langPack, this[info.lang] || this.zh_cn) : info.langPack = this[info.lang] || this.zh_cn
        }
    };
    s.init()
}, LTK["projects/vodPlay/daoliuPay"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/util/tpl");
    e("components/langPack/daoliuPay");
    var o = {
        init: function () {
            this.initDom(), this.initEvent(), this.initPage()
        }, initDom: function () {
            this.$container = $("#j-leappMore"), this.$containerBox = this.$container.find(".column_box"), this.ssouid = Cookie.get("ssouid"), this.langPack = info.langPack, this.apNew = "ch=vip&pg=vip_pay&bk=new_buy_button&link=zhifuzhongxin", this.apGoon = "ch=vip&pg=vip_pay&bk=goon_buy_button&link=zhifuzhongxin"
        }, initEvent: function () {
            this.hasEvent || (this.$container.on("click", ".j-vipMore", $.proxy(this.toVipPay, this)), a.on("getVipInfo", $.proxy(this.getVipInfo, this)), this.hasEvent = !0)
        }, initPage: function () {
            this.getTxtInfo()
        }, getTxtInfo: function () {
            var e = this;
            $.ajax({
                url: le.api_host.d_api + "/api/getMemberText", type: "get", dataType: "jsonp", success: function (i) {
                    "200" === i.code && (e.txtInfo = i.data), a.emit("getVipInfo")
                }, error: function () {
                    a.emit("getVipInfo")
                }
            })
        }, toVipPay: function (e) {
            var i = $(e.currentTarget), t = i.attr("data-vip"), a = le.api_host.zhifu + "/mz/tobuy/regular?ref=bptz_m";
            2 == t && (a = le.api_host.zhifu + "/mz/tobuy/pro?ref=bptz_m"), this.sentStatus("0"), setTimeout(function () {
                location.href = a
            }, 500)
        }, getVipInfo: function () {
            var e = this;
            if (!this.ssouid) {
                var i = '<p class="vipMore_txt">' + this.getTxtStr(7, "", !0) + '</p><div class="j-vipMore vipMore_btn"><a href="javascript:;">' + this.getTxtStr(7, this.langPack.viptxt1) + "</a></div>";
                return this.$containerBox.html(i), e.vipId = 7, void e.sentStatus("41")
            }
            $.ajax({
                url: le.api_host.yuanxian + "/letv/getService.ldo",
                type: "get",
                data: {from: "center", userid: this.ssouid},
                dataType: "jsonp",
                success: function (i) {
                    var t = e.getContentTpl(i);
                    e.$containerBox.html(t), e.sentStatus("41")
                }
            })
        }, sentStatus: function (e) {
            var i = this.apGoon;
            (1 == this.vipId || 7 == this.vipId) && (i = this.apNew), Stats.sendAction({ap: i, acode: e})
        }, getTxtStr: function (e, i, t) {
            var a = "";
            return this.vipId = e, this.txtInfo && this.txtInfo.length > 0 && "zh_cn" === info.lang ? (a = t ? this.txtInfo[e - 1].button_up_text : this.txtInfo[e - 1].button_text, a || i) : i
        }, getContentTpl: function (e) {
            var i = '<p class="vipMore_txt">{tipTxt}</p><div class="j-vipMore vipMore_btn" data-vip={vipType}><a href="javascript:;">{btnTxt}</a></div>', t = this, a = new n(i, function (i) {
                if (e && e.endtime) {
                    var a = new Date(e.endtime), n = new Date, o = e.endtime, s = n.getTime(), r = o - s, l = r / 864e5, c = a.getDate(), d = n.getDate();
                    i.vipType = e.isMovievip, r > 0 ? 1 >= l && c === d ? (i.tipTxt = t.getTxtStr(5, t.langPack.viptxt7, !0), i.btnTxt = t.getTxtStr(5, t.langPack.viptxt2)) : 15 >= l ? (i.tipTxt = t.getTxtStr(3, t.langPack.viptxt3 + "<em>" + Math.ceil(l) + "</em>" + t.langPack.viptxt4, !0), i.btnTxt = t.getTxtStr(3, t.langPack.viptxt2)) : (i.tipTxt = t.getTxtStr(2, "", !0), i.btnTxt = t.getTxtStr(2, t.langPack.viptxt2)) : Math.abs(l) <= 1 && c === d ? (i.tipTxt = t.getTxtStr(4, t.langPack.viptxt5, !0), i.btnTxt = t.getTxtStr(4, t.langPack.viptxt2)) : Math.abs(l) <= 31 ? (i.tipTxt = t.getTxtStr(6, t.langPack.viptxt6, !0), i.btnTxt = t.getTxtStr(6, t.langPack.viptxt2)) : (i.tipTxt = t.getTxtStr(1, "", !0), i.btnTxt = t.getTxtStr(1, t.langPack.viptxt1))
                } else i.tipTxt = t.getTxtStr(1, "", !0), i.btnTxt = t.getTxtStr(1, t.langPack.viptxt1)
            });
            return a.render(e)
        }
    };
    t.exports = o
}, LTK["air/io/iframeRequest"] = function (e, i, t) {
    t.exports = function (e) {
        var i, t, a = String((new Date).getTime()) + (1e5 * Math.random() >> 0), n = e.data || {};
        i = '<div id="ifr_box_' + a + '" style="width:1px;height:0px;overflow:hidden;"><form name="form_' + a + '" id="form_' + a + '" method="' + (e.type || "GET") + '" action="' + e.url + '" target="ifr_' + a + '">';
        for (t in n)i += '<input type="hidden" name="' + t + '" value="" />';
        e.callback && (window["ifr_cb_" + a] = function (i) {
            e.callback(i), $("#ifr_box_" + a).remove(), window["ifr_cb_" + a] = null
        }, i += '<input type="hidden" name="' + (e.callbackName || "callback") + '" value="ifr_cb_' + a + '" />'), i += '<input type="submit" value="submit" />', i += '</form><iframe name="ifr_' + a + '" id="ifr_' + a + '"></iframe></div>', $(document.body).append(i), setTimeout(function () {
            var e = document.getElementById("form_" + a);
            for (var i in n)e[i].value = n[i];
            e.submit()
        }, 1)
    }
}, LTK["air/number/shorten"] = function (e, i, t) {
    t.exports = function (e, i) {
        var t = e > 0 ? e : -e;
        return null == i && (i = 1), 1e4 > t ? String(e) : 1e8 > t ? (e / 1e4).toFixed(i) + "万" : (e / 1e8).toFixed(i) + "亿"
    }
}, LTK["air/array/unique"] = function (e, i, t) {
    t.exports = function (e, i) {
        var t, a, n = {}, o = [], s = 0, r = e.length;
        if (i) {
            for (; r > s; s++)t = e[s][i], a = "string" == typeof t ? "_" + t : String(t), n.hasOwnProperty(a) || (o.push(e[s]), n[a] = 1);
            return o
        }
        for (; r > s; s++)t = e[s], a = "string" == typeof t ? "_" + t : String(t), n.hasOwnProperty(a) || (o.push(t), n[a] = 1);
        return o
    }
}, LTK["air/util/scrollTo"] = function (e, i, t) {
    var a = function (e, i, t, a) {
        var n, o, s, r = window, l = 0, c = window.scrollY;
        t = t || 50, 1 > i && (i *= 1e3), n = i / t, s = (e - window.scrollY) / n, o = setInterval(function () {
            ++l < n ? r.scrollTo(0, c + s * l) : (r.scrollTo(0, e), clearInterval(o))
        }, t)
    };
    t.exports = a
}, LTK["air/util/ScrollTrigger"] = function (e, i, t) {
    var a = $(window), n = [], o = 0, s = !1, r = function () {
        clearTimeout(o), o = setTimeout(function () {
            l._call()
        }, 100)
    }, l = {
        calling: !1, add: function (e) {
            e.offsetY || (e.offsetY = 0), n.push(e), this.calling || this._call(), s || (window.addEventListener ? window.addEventListener("scroll", r, !1) : a.on("scroll", r), s = !0)
        }, _call: function () {
            var e = n.length;
            if (0 === e)return window.removeEventListener ? window.removeEventListener("scroll", r) : a.off("scroll", r), void(s = !1);
            this.calling = !0;
            for (var i, t, o = a.scrollTop() + a.height(); e--;)i = n[e], t = "number" == typeof i.point ? i.point : $(i.point).offset().top + i.offsetY, o > t && (i.isOnce === !1 || n.splice(e, 1), i.handler());
            this.calling = !1
        }
    };
    t.exports = l
}, LTK["components/tips/interfaceErrorTip"] = function (e, i, t) {
    e("components/langPack/pub");
    var a = function () {
    };
    a.prototype = {
        constructor: a, init: function (e) {
            this.container = "string" == typeof e.container ? $(e.container) : e.container, this.callback = e.callback, this.errorTime = 1, this.showTip()
        }, showTip: function () {
            this.errorTip ? this.errorTip.addClass("active") : this.container.append(this.errorTip = $('<div class="column no_loading active"></div>')), 1 == this.errorTime ? this.errorTip.html('<i class="failLoad_icon"></i><p>' + info.langPack.timeout1 + '</p><p><a class="j-refresh"  href="javascript:;">' + info.langPack.timeout2 + "</a></p>") : 2 == this.errorTime ? this.errorTip.html('<i class="failLoad_icon"></i><p>' + info.langPack.timeout3 + '</p><p><a class="j-refresh"  href="javascript:;">' + info.langPack.timeout4 + "</a></p>") : 3 == this.errorTime && this.errorTip.html('<i class="failLoad_icon1"></i><p>' + info.langPack.timeout5 + '</p><p><a class="j-refresh"  href="javascript:;">' + info.langPack.timeout6 + "</a></p>"), this.refreshBtn = this.container.find(".j-refresh"), this.bindEvent()
        }, bindEvent: function () {
            var e = this;
            this.refreshBtn.off("click").on("click", function () {
                e.errorTime += 1, e.errorTip.removeClass("active"), e.callback()
            })
        }
    }, t.exports = a
}, LTK["air/env/isIE6"] = function (e, i, t) {
    t.exports = !window.XMLHttpRequest && !!window.ActiveXObject
}, LTK["air/ui/mask"] = function (e, i, t) {
    var a = e("air/env/isIE6"), n = {
        $layer: null, _zIndex: 8e3, setZIndex: function (e) {
            return this._zIndex = e, this.$layer.css("z-index", e), this
        }, getZIndex: function () {
            return this._zIndex
        }, onClick: function (e) {
            return this._click = e, this
        }, show: function (e) {
            return a && this.$layer.css("height", $(document).height()), this.$layer.css("opacity", e || .2).show(), this
        }, hide: function () {
            this._click = null, this.$layer.hide()
        }
    }, o = $('<div style="display:none;background:none repeat scroll 0 0 #000000;width:100%;height:100%;position:' + (a ? "absolute" : "fixed") + '; top:0; left:0;"></div>');
    $(document.body).append(o), n.$layer = o, o.on("click", function () {
        n._click && n._click()
    }), t.exports = n
}, LTK["air/event/resize"] = function (e, i, t) {
    var a = {}, n = 1, o = "resize._" + (new Date).getTime() + "_";
    a.add = function (e, i) {
        var t = 0, a = o + n++;
        return i || (i = 25), $(window).on(a, function () {
            clearTimeout(t), t = setTimeout(e, i)
        }), a
    }, a.remove = function (e) {
        $(window).off(e)
    }, t.exports = a
}, LTK["air/ui/overlay"] = function (e, i, t) {
    function a(i) {
        var t = this;
        t.mask = i.mask === !1 ? !1 : i.mask || .2, t.onClickMask = i.onClickMask || !1, t.onShow = i.onShow || l, t.onHide = i.onHide || l, t.onClose = i.onClose || l, t.showFn = i.showFn || !1, t.hideFn = i.hideFn || !1;
        var a;
        i.html ? (t.$box = a = $(i.html), $(document.body).append(a)) : "string" == typeof a ? t.$box = a = $(a) : t.$box = a = i.$box, t.fixed = i.fixed === !1 ? !1 : !0, a.css("position", t.fixed ? "fixed" : "absolute"), a.css("z-index", n), t._zIndex = n++, t.$underlay = {
            css: l,
            show: l,
            hide: l,
            remove: l
        }, t._calcSize(), i.underlay && t._initUnderlay(), i.draggable ? (t._drag(), t.resize = "") : t.resize = e("air/event/resize").add(function () {
            t.setMiddle()
        }), setTimeout(function () {
            t._bindEvents(i.events), i.visible === !1 || t.show(), i.autoClose && setTimeout(function () {
                t.close()
            }, i.autoClose)
        }, 80), o && t._fixIE6()
    }

    var n = 8001, o = e("air/env/isIE6"), s = e("air/ui/mask"), r = $(window), l = function () {
    };
    a.prototype = {
        constructor: a, _bindEvents: function (e) {
            var i, t, a = this, n = a.$box;
            for (i in e)t = i.split(/ +/), 2 === t.length && n.find(t[1]).on(t[0], function (e) {
                return function (i) {
                    e.call(a, i, this)
                }
            }(e[i]))
        }, _calcSize: function () {
            var e = this, i = e.$box;
            i.outerWidth ? (e.width = i.outerWidth(), e.height = i.outerHeight()) : (e.width = i.width(), e.height = i.height()), e.$underlay.css({
                width: e.width,
                height: e.height
            })
        }, setMiddle: function () {
            return this._calcSize(), this.setPosition({
                top: (r.height() - this.height) / 2,
                left: (r.width() - this.width) / 2
            }), this
        }, setPosition: function (e) {
            var i = e.top, t = e.left;
            return i && ((!this.fixed || o) && (i += r.scrollTop()), e.top = i > 0 ? i : 0), t && (o && (t += r.scrollLeft()), e.left = t > 0 ? t : 0), this.$box.css(e), this.$underlay.css(e), this
        }, show: function () {
            var e = this;
            return e.showFn ? e.showFn() : (e.$box.css("display", "block"), e.setMiddle(), e.$box.css("visibility", "visible")), e.$underlay.show(), e.mask && (s.setZIndex(e._zIndex - 1).show(e.mask), e.onClickMask && s.onClick(function () {
                e.onClickMask()
            })), e
        }, hide: function () {
            return this.hideFn ? this.hideFn() : this.$box.css("display", "none").css("visibility", "hidden"), this.$underlay.hide(), this.mask && s.hide(), this
        }, close: function () {
            if (!this._closed) {
                this._closed = !0;
                var e = this.$box;
                this.hideFn ? this.hideFn() : e.css("visibility", "hidden"), setTimeout(function () {
                    e.remove()
                }, 3e3), this.$underlay.remove(), this.mask && s.hide(), this.resize && r.off(this.resize)
            }
        }, setContent: function (e) {
            return this.$box.find(".j-content").html(e), this
        }, _drag: function () {
            var e = this.$box, i = e.find(".j-dragbar");
            if (i.length) {
                var t, a, n = this.$underlay, o = function (i) {
                    var o = i.pageX - t, s = i.pageY - a;
                    0 > o && (o = 0), 0 > s && (s = 0), e.css({top: s, left: o}), n.css({top: s, left: o})
                }, s = function () {
                    document.onselectstart = function () {
                        return !0
                    }, $(document).off("mousemove", o).off("mouseup", s)
                };
                i.on("mousedown", function (i) {
                    document.onselectstart = function () {
                        return !1
                    }, i.preventDefault(), t = i.pageX - parseInt(e.css("left")), a = i.pageY - parseInt(e.css("top")), $(document).on("mousemove", o).on("mouseup", s)
                })
            }
        }, _initUnderlay: function () {
            this.$underlay = $('<iframe style="background:none repeat scroll 0 0 #ffffff;overflow:hidden; position:' + (this.fixed ? "fixed" : "absolute") + "; z-index:" + this._zIndex + "; width:" + this.width + "px;height:" + this.height + 'px; border:none; display:none;" frameborder="0"></iframe>'), this.$box.before(this.$underlay)
        }, _fixIE6: function () {
            var e = this;
            e.fixed && (e.$box.css("position", "absolute"), e.$underlay.css("position", "absolute"), r.on("scroll", function () {
                e.setPosition({top: (r.height() - e.height) / 2})
            }))
        }
    }, t.exports = a
}, LTK["components/util/bindphone"] = function (e, i, t) {
    var a = e("air/ui/overlay");
    t.exports = function () {
        return this._layer ? void this._layer.show() : void(this._layer = new a({
            html: '<section class="windowBox"><em class="ico_close"><a href="javascript:void(0);"><i class="i-1"></i><i class="i-2"></i></a></em><div class="windowCon"><p>' + info.langPack.bdphone1 + "</br>" + info.langPack.bdphone2 + '</p><a class="ico_look" href="javascript:;">' + info.langPack.bdphone3 + "</a></div></section>",
            mask: .7,
            onClickMask: function () {
                this.hide()
            },
            events: {
                "click .ico_close": function () {
                    this.hide()
                }, "click .ico_look": function () {
                    this.hide(), window.location.href = le.api_host.sso_http + "/user/mChangeBindMobile?next_action=" + encodeURIComponent(window.location.href)
                }
            }
        }))
    }
}, LTK["projects/vodPlay/comment"] = function (e, i, t) {
    var a = e("components/util/mUa"), n = e("components/util/events"), o = e("air/io/iframeRequest"), s = (e("air/number/shorten"), e("air/array/unique")), r = e("air/array/each"), l = e("air/util/tpl"), c = e("air/env/ua"), d = (e("components/app/apph5Adapter"), c.letvClient || c.letvMobile || c.superLetvClient), p = e("air/util/scrollTo"), h = e("air/util/ScrollTrigger"), u = e("projects/vodPlay/components/util"), c = e("air/env/ua"), f = e("components/tips/interfaceErrorTip"), m = e("components/app/callApp");
    e("components/langPack/ms_play"), n.on("gotoComment", function () {
        g.init()
    });
    var g = {
        inited: !1, errorTime: 1, init: function () {
            if (!this.inited) {
                this.inited = !0;
                var e = this;
                this.config = {
                    maxLimit: 140,
                    getPageSize: 10,
                    syscode: {
                        empty: info.langPack.comm_in,
                        more: info.langPack.comm_c,
                        "short": info.langPack.comm_d,
                        time: info.langPack.comm_pf,
                        repeat: info.langPack.comm_cf
                    },
                    strTpl: {
                        more: info.langPack.comm_inou + "{num}" + info.langPack.comm_inen,
                        remain: info.langPack.comm_inst + "{num}" + info.langPack.comm_inen
                    },
                    defaultText: info.langPack.icomm,
                    addCmtUrl: le.api_host.api_my + "/vcm/api/add",
                    getCmtUrl: le.api_host.api_my + "/vcm/api/list",
                    likeCmtUrl: le.api_host.api_my + "/vcm/api/like"
                };
                var i = '<dl class="cmt_info{$item.isHot ? [[ cmt_infoHot]] : [[]]}"><dd class="cmt_img"><img src="{$item.user.photo}" onerror="javascript:this.src=\'//i3.letvimg.com/img/201207/30/tx50.png\';this.onerror=null;"></dd><dt class="cmt_name"><span class="tip_name">{$item.user.username}</span></dt><dd class="cmt_cnt">{content}</dd><dd class="cmt_zan"><span class="tip_time">{vtime}</span><span class="ico_zan2" data-cmtid = {_id} id="j-cmt-{_id}" data-like="{like}">{showlike}<i class="icon_font {$item.isLike ? [[icon_zan3]] : [[icon_zan2]]}"></i></span></dd></dl>';
                this.cmtTpl = new l(i), this.videoInfo = window.info, this.initDom(), this.initEvent(), this.getCmtList(), Stats.sendAction({
                    ap: "fl=di&dp=msite_play_comment_exposure",
                    acode: "41"
                }), n.on("nextVideoReady", function () {
                    e.updateCommentList()
                })
            }
        }, initDom: function () {
            this.container = $("#j-comment"), this.hasInput = parseInt(this.container.attr("data-input")), this.cmtTotal = $("#j-cmtTotal"), this.cmtCon = $("#j-cmtCon"), this.$header = $("header"), this.cmtInputBox || this.hasInput && this.cmtCon.append(this.cmtInputBox = $(['<div class="cmt_input" id="j-cmtInputBox">', '<div class="cmt_aniBox">', '<div class="inputBox"><input id="j-cmtInput" type="text" class="input1" value="' + this.config.defaultText + '"></div>', '<div class="cmt_img"><img src="//i0.letvimg.com/lc02_img/201512/07/15/26/userBg.png" alt="" title=""></div>', "</div>", '<div class="input_ico" id="j-cmtHandle" style="display:none">', '<span class="num" id="j-cmtTextNum">' + info.langPack.comm_inst + "<b>140</b>" + info.langPack.comm_inen + "</span>", '<a href="javascript:;" class="ico_cancle" id="j-cmtCancel" >' + info.langPack.cancel + "</a>", '<a href="javascript:;" class="ico_send" id="j-cmtSend">' + info.langPack.post + "</a>", "</div>", "</div>"].join(""))), this.cmtList || this.cmtCon.append(this.cmtList = $('<div class="cmt_cnt" id="j-cmtList">' + u.getLoadingHtml() + "</div>")), this.loading = this.cmtList.find(".loader").parent(), this.hasInput && (this.cmtHandle = $("#j-cmtHandle"), this.cmtInput = $("#j-cmtInput"), this.cmtTextNum = $("#j-cmtTextNum"), this.cmtCancel = $("#j-cmtCancel"), this.cmtSend = $("#j-cmtSend"))
        }, initEvent: function () {
            if (this.hasInput) {
                var e = this;
                this.cmtInput.parent().on("click", function () {
                    e.cmtFocus()
                }), this.cmtCancel.on("click", function () {
                    e.cmtInput.val(""), e.cmtBlur()
                }), this.cmtInput.on({
                    focus: function () {
                        e.cmtFocus()
                    }, input: function (i) {
                        e.computerString()
                    }, blur: function (i) {
                        "" === $.trim(e.cmtInput.val()) && e.cmtBlur(i)
                    }, poste: function (i) {
                        setTimeout(function () {
                            e.computerString()
                        }, 100)
                    }
                }), this.cmtSend.on("click", function (i) {
                    i.preventDefault();
                    var t = e.cmtInput.val();
                    !t || t == e.config.defaultText || t.length > e.config.maxLimit || e.sendCmt()
                })
            }
        }, cmtFocus: function () {
            return n.emit("removeBarrage", {from: "cmtFocus"}), this.cmtInput.val() == this.config.defaultText && this.cmtInput.val(""), this.computerString(), this.cmtInput.focus(), d && $("#j-btn-showhide").removeClass("isgoTop"), c.ios && this.$header.length > 0 && this.$header.addClass("focus"), $.cookie("ssouid") ? void("block" != this.cmtHandle.css("display") && (this.cmtHandle.removeClass("ani_cmtHide").addClass("ani_cmtShow").show(), this.animate("show"))) : void le.app.callLogin()
        }, cmtBlur: function () {
            "block" == this.cmtHandle.css("display") && (this.cmtHandle.addClass("ani_cmtHide").removeClass("ani_cmtShow"), this.animate("hide")), "" == this.cmtInput.val() && this.cmtInput.val(this.config.defaultText), setTimeout(function () {
                n.emit("startBarrage", {from: "cmtBlur"})
            }, 500), c.ios && this.$header.length > 0 && this.$header.removeClass("focus")
        }, animate: function (e) {
            this.cmtHandle.on("webkitAnimationEnd animationend webkitTransitionEnd transitionEnd", function () {
                var i = $(this);
                i.off("webkitAnimationEnd animationend webkitTransitionEnd transitionEnd"), "hide" == e ? (i.hide(), i.removeClass("ani_cmtHide")) : i.removeClass("ani_cmtShow")
            })
        }, computerString: function () {
            var e = this.cmtInput.val(), i = this.config, t = i.maxLimit - e.length;
            return 0 > t ? this.cmtTextNum.addClass("red").html(i.strTpl.more.replace("{num}", -t)) : this.cmtTextNum.removeClass("red").html(i.strTpl.remain.replace("{num}", t)), t
        }, addLikeEvent: function () {
            var e = this;
            $(".cmt_zan").find(".ico_zan2").off("click").on("click", function () {
                $(this).find("i").hasClass("icon_zan3") || e.like($(this).attr("data-cmtid"))
            })
        }, lockLike: !1, like: function (e) {
            var i = $("#j-cmt-" + e), t = parseInt(i.attr("data-like"));
            i.attr("data-like", ++t), i.html(u.formatCount(t) + '<i class="icon_font icon_zan3"></i>'), $.ajax({
                url: this.config.likeCmtUrl + "?jsonp=?",
                dataType: "jsonp",
                cache: !0,
                data: {type: "video", commentid: e, macid: $.cookie("tj_lc"), source: 8},
                success: function (e) {
                    200 == e.result
                },
                error: function () {
                }
            })
        }, sendCmt: function () {
            var i = this, t = {
                xid: this.videoInfo.vid,
                cid: this.videoInfo.cid,
                pid: this.videoInfo.pid,
                csrf: $.cookie("csrf"),
                random: Math.random(),
                content: this.cmtInput.val(),
                jscript: 1,
                source: 8,
                identify: 1
            };
            o({
                url: this.config.addCmtUrl, type: "POST", data: t, callback: function (t) {
                    if (200 == t.result)i.newCmtTitle && i.newCmtTitle.length ? (i.newCmtTitle.after(i.cmtTpl.render(i.formatData(t.data))), $(".j-hotCmt").length && p.apply(i, [i.newCmtTitle.offset().top - 120, 100])) : (i.noCmt && i.noCmt.remove(), i.cmtList.prepend(i.cmtTpl.render(t.data))), i.addLikeEvent(), i.cmtInput.val(""), i.cmtBlur(); else if ("not_identified" == t.result)e("components/util/bindphone")(); else {
                        var a = i.config.syscode[t.result] || info.langPack.errbusy;
                        i.cmtTextNum.addClass("red").html(a)
                    }
                }
            })
        }, formatData: function (e) {
            return r(e, function (e, i) {
                i.showlike = i.like ? i.like : "", i.showlike && (i.showlike = u.formatCount(i.showlike)), "http://i3.letvimg.com/img/201207/30/tx50.png" == i.user.photo && (i.user.photo = "//i0.letvimg.com/lc02_img/201512/07/15/26/userBg.png"), "vote" == i.cmtType && (i.content = i.vote.title)
            }), e
        }, updateCommentList: function () {
            this.cmtList.html(""), this.getMoreCmt.hide(), this.videoInfo = window.info, this.getCmtList()
        }, locked: !1, getCmtList: function () {
            var e = this;
            e.locked || (e.locked = !0, $.ajax({
                url: this.config.getCmtUrl + "?jsonp=?",
                dataType: "jsonp",
                timeout: 1e4,
                data: {
                    type: "video",
                    xid: this.videoInfo.vid,
                    pid: 1 == this.videoInfo.ptvcid ? this.videoInfo.pid : 0,
                    page: 1,
                    rows: this.config.getPageSize,
                    source: 8,
                    ctype: "cmt,img,vote"
                },
                success: function (i) {
                    var t = "";
                    if (200 == i.result) {
                        var n = parseInt(i.total) + parseInt(i.replyTotal);
                        n ? e.cmtTotal.html(u.formatCount(n) + info.langPack.item_t).show() : e.cmtTotal.hide();
                        var o = [], l = [], c = i.godData || [], d = 0, p = c.length, h = e.config.getPageSize;
                        if (p ? (r(c, function (e, i) {
                                i.isHot = 1
                            }), t += '<div class="cmt_list cmt_list1"><div class="column_titf j-hotCmt"><h3>' + info.langPack.topcomm + "</h3></div>", t += e.cmtTpl.render(e.formatData(c)), t += "</div>", o.push.apply(o, c), o.push.apply(o, i.data), s(o, "_id"), l = o.slice(p, h)) : l = i.data, d = l.length, d && (t += '<div class="cmt_list"><div class="column_titf j-newCmt"><h3>' + info.langPack.newcomm + "</h3></div>", t += e.cmtTpl.render(e.formatData(l)), t += "</div>"), d + p) {
                            e.cmtList.html(t), e.newCmtTitle = $(".j-newCmt");
                            var f = "";
                            f = "weixin" == info.shareAgent || "weibo" == info.shareAgent ? info.langPack.comm_app : n > 10 ? info.langPack.comm_more : info.langPack.commapp_hd, "" === f || a.isApp() || e.setBtn(f), e.addLikeEvent()
                        } else e.cmtList.html('<div class="cmt_no active"><i class="icon_font icon_sofa1"></i><p>' + info.langPack.comm_qsf2 + "</p></div>"), e.noCmt = $(".cmt_no"), a.isApp() || e.setBtn(info.langPack.comm_qsf_app)
                    }
                    e.locked = !1
                },
                error: function (i) {
                    e.locked = !1, e.loading.hide(), e.interfaceErrorTip ? e.interfaceErrorTip.showTip() : (e.interfaceErrorTip = new f, e.interfaceErrorTip.init({
                        container: e.cmtList,
                        callback: function () {
                            e.loading.show(), e.getCmtList()
                        }
                    }))
                }
            }))
        }, setBtn: function (e) {
            var i = this, t = c.letvMobile ? "lingxian" : c.android ? "android" : "ios", a = Stats && Stats.BR ? Stats.BR : "letv", n = "comment";
            if (this.getMoreCmt)this.getMoreCmt.html(e).show(); else {
                var o = "fl=di&dp=msite_play_comment_gotoapp";
                info.lejianVideoType && (o = "msite_lejian_download_comment_all_all_" + info.region), this.cmtCon.append(this.getMoreCmt = $('<div class="cmt_more" k-name="send-stat-any" data-stat="{acode:\'0\', ap:\'' + o + '\'}" id="j-cmtMore">' + e + "</div>")), this.getMoreCmt.on("click", function () {
                    m.call({
                        daoliuConfig: {
                            vid: i.videoInfo.vid,
                            type: "play",
                            from: "m_" + t + "_" + a + "_" + n,
                            url: le.api_host.app_m + "/download_general.php?ref=010110831&iref=sMxlUp"
                        }
                    })
                })
            }
            h.add({
                point: i.getMoreCmt.offset().top - $(window).height(), handler: function () {
                    Stats.sendAction({ap: "fl=di&dp=msite_play_comment_gotoapp_exposure", acode: "41"})
                }
            })
        }, commentCheck: function () {
            var e = $.trim(this.cmtInput.val()).length;
            return e > 0 ? e <= this.config.maxLimit ? !0 : (this.cmtTextNum.addClass("red").html(this.config.syscode.more), !1) : (this.cmtTextNum.addClass("red").html(this.config.syscode.empty), !1)
        }
    };
    t.exports = g
}, LTK["projects/vodPlay/relatedMain"] = function (e, i, t) {
    var a = e("components/util/events"), n = e("air/util/tpl"), o = e("projects/vodPlay/components/swiperList"), s = e("projects/vodPlay/components/util"), r = {
        init: function (e) {
            this.initDom(e), this.initEvent(), this.initRelatedMain()
        }, initDom: function (e) {
            this.dataCache = e, this.$container = $("#j-relatedMain"), this.$containerBody = this.$container.find(".column_body"), this.$containerBody.html('<div class="sideslip_container sideslip"><div class="sideslip_wrapper"></div></div>'), this.container = this.$containerBody.find(".sideslip_container"),
                this.currentIndex = 0, this.pageSize = 9, this.screenSize = 3, this.totalSize = e.length, this.setRenderData(this.currentIndex), this.swiperList = new o
        }, setRenderData: function (e) {
            this.currentIndex = e;
            var i = this.dataCache, t = this.pageSize;
            this.renderData = i.slice(e * t, e * t + t), this.contentStr = this.getContentTpl()
        }, initEvent: function () {
        }, getDataByIndex: function (e) {
            this.setRenderData(e - 1), a.emit("swiperComplete_relatedMain", this.contentStr)
        }, initRelatedMain: function () {
            return this.dataCache && 0 !== this.dataCache.length ? (this.swiperList.init({
                cardname: "relatedMain",
                container: this.container,
                pageSize: this.pageSize,
                totalSize: this.totalSize,
                screenSize: this.screenSize,
                isLoadmore: !0,
                contentStr: this.contentStr,
                swiperCallback: $.proxy(this.getDataByIndex, this)
            }), void Stats.sendAction({
                ap: "msite_play_relatedMain_exposure",
                acode: "41"
            })) : void this.$container.remove()
        }, getContentTpl: function () {
            if (this.renderData && 0 !== this.renderData.length) {
                for (var e = '<a class="slide_box" data-vid="{vid}" k-name="send-stat" data-stat="{sendData}" href="javascript:;" data-href="/vplay_{vid}.html"><div class="part_stat"><img src="//i3.letvimg.com/lc05_img/201603/01/15/52/playBg.png"  class="a_img"><i data-src="{pic}" ></i><em>{formatedDate}</em><span class="box_bor"><b></b></span><span class="icon_font icon_statePlay"></span></div><h3 class="swp_title" >{title}</h3></a>', i = new n(e, function (e) {
                    e.pic && (e.pic = e.pic.replace(/^http:\/\//g, "//")), e.curClass = "", e.sendData = "{acode:'0', ap:'msite_play_relatedMain_click', vid:'" + e.vid + "', pid:'-'}", e.formatedDate = "";
                    var i = s.formatDate(e.episode);
                    i && (e.formatedDate = i)
                }), t = this.renderData.length / this.screenSize, a = "", o = {}, r = 0; t > r; r++)a += '<div class="sideslip_slide">', o = this.renderData.slice(r * this.screenSize, r * this.screenSize + this.screenSize), a += i.render(o), a += "</div>";
                return a
            }
        }
    };
    t.exports = r
}, LTK["projects/vodPlay/playAppDownload"] = function (e, i, t) {
    var a = {
        init: function () {
            this._initDom(), this._initEvent()
        }, _initDom: function () {
            this._downElement = $(".tips_box").find("a.j-download"), this._scanElement = $(".tips_box").find("a.j-openApp"), this._scan = this._scanElement, this._down = this._downElement
        }, _initEvent: function () {
            this.__scan = _.bind(this._playScan, this), this.__down = _.bind(this._playDown, this), this._scan.on("click", this.__scan), this._down.on("click", this.__down)
        }, _playScan: function () {
            this._download("playScan")
        }, _playDown: function () {
            this._download("playDownload")
        }, _download: function (e) {
            if ("undefined" != typeof __PromotionApp && "undefined" != typeof __PromotionApp[e]) {
                var i = le.m.getPromotion.init(__PromotionApp[e]);
                __openApp._bindDefaultAppEvent({
                    app: i.app || "",
                    url: i.url || "",
                    wxUrl: i.wxUrl || "",
                    wxShortUrl: i.wxShortUrl || "",
                    vid: i.vid || "",
                    type: "play"
                })
            }
        }
    };
    t.exports = a
}, LTK["projects/vodPlay/playCodeStream"] = function (e, i, t) {
    var a = e("components/util/events"), n = e("components/app/callApp"), o = {
        init: function () {
            var e = $(".tips_box");
            this._btn = e.find(".j-codeStream"), this._initDom(), this._initEvent()
        }, _initDom: function () {
            this._parent = this._btn.parent(), this._menu = this._parent.find("a"), this._body = $("body")
        }, _initEvent: function () {
            this.__showMenu = _.bind(this._showMenu, this), this.__change = _.bind(this._changeCodeStream, this), this._body.on("click", _.bind(this._hideMenu, this)), this._menu.on("click", this.__change)
        }, _showMenu: function (e) {
            e.stopPropagation(), e.preventDefault(), this._parent.toggleClass("cur")
        }, _hideMenu: function () {
            this._parent.hasClass("cur") && this._parent.removeClass("cur")
        }, _changeCodeStream: function (e) {
            var i = $(e.target), t = i.attr("data-action"), o = i.html();
            if ($(".j-maliu span").html(o), this._menu.removeClass("cur"), i.addClass("cur"), a.emit("closeToolCover", t), "3" != t)a.emit("changeDefi", t); else {
                var s = "playScan";
                if ("undefined" != typeof __PromotionApp && "undefined" != typeof __PromotionApp[s]) {
                    var r = le.m.getPromotion.init(__PromotionApp[s]);
                    n.call({
                        position: "hd",
                        daoliuConfig: {
                            app: r.app || "",
                            url: r.url || "",
                            wxUrl: r.wxUrl || "",
                            wxShortUrl: r.wxShortUrl || "",
                            vid: r.vid || "",
                            type: "play"
                        }
                    })
                }
            }
        }
    };
    t.exports = o
}, LTK["components/langPack/toolbar"] = function (e, i, t) {
    "use strict";
    e("components/com_base/global");
    var a = {
        tooltxt1: "在客户端中才可观看超清视频哦~",
        tooltxt2: "打开乐视视频APP",
        tooltxt3: "流畅",
        tooltxt4: "高清",
        tooltxt5: "超清",
        tooltxt6: "在客户端中才可缓存哦~",
        tooltxt7: "据说10秒内分享的人，会瘦10斤哒！"
    }, n = {
        tooltxt1: "Watch it in UHD with the Le app",
        tooltxt2: "Use the Le app",
        tooltxt3: "SD",
        tooltxt4: "HD",
        tooltxt5: "UHD",
        tooltxt6: "You can only download the video with the Le app",
        tooltxt7: "Share to my friends"
    }, o = {
        tooltxt1: "使用樂視視頻APP，看超清版~",
        tooltxt2: "使用APP",
        tooltxt3: "SD",
        tooltxt4: "HD",
        tooltxt5: "UHD",
        tooltxt6: "使用樂視視頻APP，下載視頻",
        tooltxt7: "分享給我的朋友"
    }, s = {
        init: function () {
            this.initDom(), this.initLangPack()
        }, initDom: function () {
            this.zh_cn = a, this.en_us = this.hi_in = n, this.zh_hk = o
        }, initLangPack: function () {
            info.langPack ? $.extend(info.langPack, this[info.lang] || this.zh_cn) : info.langPack = this[info.lang] || this.zh_cn
        }
    };
    s.init()
}, LTK["projects/vodPlay/share"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("components/share/share_base"), o = {
        init: function () {
            this.initDom(), this.initEvent(), this.initShare()
        }, initDom: function () {
            this.setNewShareInfo(), this.eventInited = !1
        }, initEvent: function () {
            this.eventInited || (a.on("nextVideoReady", $.proxy(this.setNewShareInfo, this)), this.eventInited = !0), $(".share_cnt").on("click", "li", $.proxy(this.startShare, this))
        }, setNewShareInfo: function () {
            window.info && window.info.share && n.setShareInfo(window.info.share)
        }, initShare: function () {
            /MicroMessenger/i.test(navigator.userAgent) && $("#uniShare_weixin").css({display: "inline-block"})
        }, startShare: function (e) {
            e.preventDefault();
            var i = $(e.target).closest("li"), t = i.attr("data-type"), a = "", o = {
                qzone: "qqclick",
                weibo: "weiboclick",
                weixin: "weixinclick",
                tw: "tw",
                fb: "fb"
            };
            o[t] && (a = "ch=vplay&bk=toolshare&link=" + o[t]), a && Stats.sendAction({ap: a}), "weixin" === t ? n.weixinShare() : n.otherShare(t)
        }
    };
    t.exports = o
}, LTK["components/util/utils"] = function (e, i, t) {
    "use strict";
    var a = e("air/env/ua"), n = e("components/util/events"), o = {
        loadImg: function (e, i) {
            var t = "data-src", a = e.find("[" + t + "]");
            a.each(function (e, a) {
                var n = $(a), o = $(a).attr(t), s = new Image;
                $(s).on("load", function () {
                    n.removeAttr(t);
                    var e = {"background-image": "url(" + o + ")"};
                    i || (e.opacity = 0), n.css(e), s = null, i || n.animate({opacity: 1})
                }).attr("src", o)
            })
        }, isLowerIOS: function () {
            return !!navigator.userAgent.match(/OS [5-8]_\d[_\d]* like Mac OS X/i)
        }, daoliuApp: function (e) {
            var i = a.letvMobile ? "lingxian" : a.android ? "android" : "ios", t = Stats && Stats.BR ? Stats.BR : "letv", n = e.position || "home", o = {
                app: "letv",
                url: le.api_host.app_m + "/download_general.php?ref=010110678",
                wxUrl: "http://a.app.qq.com/o/simple.jsp?pkgname=com.letv.android.client&ckey=CK1302109994632",
                from: "m_" + i + "_" + t + "_" + n,
                type: "home"
            }, s = $.extend(o, e.daoliuConfig);
            this.openApp(s)
        }, openApp: function (e) {
            __openApp._bindDefaultAppEvent(e)
        }, sendClickStats: function (e) {
            var i = e.ap;
            this.send("0", i)
        }, sendExplorStats: function (e) {
            var i = e.ap;
            this.send("41", i)
        }, sendDragStats: function (e) {
            var i = e.ap;
            this.send("34", i)
        }, sendRegestStats: function (e) {
            var i = e.ap;
            this.send("19", i)
        }, send: function (e, i) {
            Stats.sendAction({acode: e, ap: i})
        }, goLeft: function (e, i) {
            var t = "ani_goLeft";
            a.ios && (t = "ani_goLeft toStaic"), e.removeClass("ani_goRight").addClass(t), i.removeClass("ani_goRight").addClass("ani_goLeft toFixed"), n.emit("pageAnimateGoLeft")
        }, goBack: function (e, i) {
            var t = "ani_goLeft";
            a.ios && (t = "ani_goLeftEnd"), e.height("auto").removeClass("ani_goLeft").addClass("ani_goRight"), i.removeClass(t).addClass("ani_goRight toFixed"), n.emit("pageAnimateGoBack")
        }, animateEnd: function (e, i, t) {
            switch (t.animationName) {
                case"ani_goLeft":
                    e.height($(window).height()), a.ios ? i.removeClass("toFixed ani_goLeft").addClass("ani_goLeftEnd") : i.removeClass("toFixed"), window.scrollTo(0, 0);
                    break;
                case"ani_goRight":
                    var n = "ani_goRight";
                    a.ios && (n = "ani_goRight toStaic"), e.removeClass(n), i.removeClass("ani_goRight toFixed")
            }
        }
    };
    t.exports = o
}, LTK["components/toolBar/toolCover"] = function (e, i, t) {
    "use strict";
    e("components/langPack/toolbar");
    var a = e("projects/vodPlay/playCodeStream"), n = e("components/util/events"), o = e("projects/vodPlay/share"), s = e("components/util/utils"), r = e("air/env/ua"), l = {
        init: function (e) {
            this.initDom(e), this.initEvent()
        }, initDom: function (e) {
            $("body").append('<div class="j-toolMask" style="display: none;position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0,0,0,0.5);opacity: 0.6;z-index: 103;"></div>'), this.config = {
                $wrap: $("#j-toolbar"),
                tipClass: ".tips_box",
                btnClass: ".j-down,.j-share,.j-maliu"
            }, $.extend(this.config, e), this.$wrap = this.config.$wrap, this.$mask = $(".j-toolMask"), this.tipClass = this.config.tipClass, this.btnClass = this.config.btnClass, this.upBar = this.config.upBar, this.$main = $(".j-main"), this.screamType = 3, this.tipsConfig = this.streamConfig = this.downConfig = {}, window.__PromotionApp && __PromotionApp.playfixTip && (this.tipsConfig = le.m.getPromotion.init(__PromotionApp.playfixTip), this.streamConfig = le.m.getPromotion.init(__PromotionApp.playScan), this.downConfig = le.m.getPromotion.init(__PromotionApp.playDownload))
        }, initEvent: function () {
            this.$mask.on("touchmove", $.proxy(this.noMove, this)), this.$mask.on("click", $.proxy(this.removeCover, this)), this.$wrap.on("click", this.btnClass, $.proxy(this.showBox, this)), this.$wrap.on("click", ".j-leApp", $.proxy(this.openApp, this)), this.$wrap.on("click", ".j-close", $.proxy(this.removeCover, this)), this.$main.on("click", ".j-close", $.proxy(this.removeCover, this)), n.on("closeToolCover", $.proxy(this.removeCover, this))
        }, showBox: function (e) {
            e.preventDefault();
            var i = $(e.currentTarget);
            this.$icos = i.closest("ul");
            var t = parseInt(i.attr("data-type"));
            switch (this.$icos.find("li").removeClass("cur"), i.addClass("cur"), this.upBar && this.$wrap.removeClass("layer_index"), t) {
                case 1:
                    r.ios ? (i.removeClass("cur"), this.daoliuFlag = "down", this.openApp()) : this.tipHtml(3);
                    break;
                case 2:
                    r.uc ? (this.tipHtml(2), a.init()) : r.ios ? (i.removeClass("cur"), this.daoliuFlag = "stream", this.openApp()) : this.tipHtml(1);
                    break;
                case 3:
                    this.tipHtml(4), o.init();
                    break;
                case 5:
                    this.tipHtml(5)
            }
        }, noMove: function (e) {
            e.preventDefault()
        }, removeCover: function (e) {
            e >= 0 && (this.screamType = e), $("body").off("touchmove"), this.$mask.hide(), $(this.tipClass).remove(), this.$icos.find("li").removeClass("cur"), this.upBar && this.$wrap.addClass("layer_index")
        }, showCoverLayer: function (e, i) {
            var t = null, a = null;
            this.$mask.show(), this.$wrap.hasClass("j-atup") ? "live/playLw" == info.pageid || "live/play" == info.pageid ? this.$wrap.append(e) : this.$main.append(e) : this.$wrap.append(e), 2 == i && (t = $(".j-codeStream a"), a = t.eq(parseInt(this.screamType) - 1), t.removeClass("cur"), a.addClass("cur")), $("body").on("touchmove", function (e) {
                e.preventDefault()
            })
        }, tipHtml: function (e) {
            var i = "";
            switch (e) {
                case 1:
                    i = '<div class="tips_box"><div class="tips_box_cnt"><i class="icon_font icon_close j-close"></i><span class="tips_box_txt">' + info.langPack.tooltxt1 + '</span><a class="tips_box_btn j-leApp" data-flag="stream" href="javascript:;"  k-name="send-click-stat" data-click-stat="fl=di&dp=msite_play_toolbarTipsBtnOpen_click">' + info.langPack.tooltxt2 + "</a></div></div>";
                    break;
                case 2:
                    i = '<div class="tips_box"><div class="tips_box_cnt"><i class="icon_font icon_close j-close"></i><span class="tips_box_txt">' + info.langPack.tooltxt1 + '</span><ul class="stream_cnt j-codeStream"><li><a href="javascript:;" data-action="1" k-name="send-click-stat" data-click-stat="fl=di&dp=msite_play_toolbarTipsBtnSwitch_click">' + info.langPack.tooltxt3 + '</a></li><li><a href="javascript:;" data-action="2" k-name="send-click-stat" data-click-stat="fl=di&dp=msite_play_toolbarTipsBtnSwitch_click">' + info.langPack.tooltxt4 + '</a></li><li><a href="javascript:;" data-action="3" k-name="send-click-stat" data-click-stat="fl=di&dp=msite_play_toolbarTipsBtnSwitch_click">' + info.langPack.tooltxt5 + "</a></li></ul></div></div>";
                    break;
                case 3:
                    i = '<div class="tips_box"><div class="tips_box_cnt"><i class="icon_font icon_close j-close"></i><span class="tips_box_txt">' + info.langPack.tooltxt6 + '</span><a class="tips_box_btn j-leApp" data-flag="down" data-position="download"  href="javascript:;" k-name="send-click-stat" data-click-stat="fl=di&dp=msite_play_toolbarTipsBtnDownload_click">' + info.langPack.tooltxt2 + "</a></div></div>";
                    break;
                case 4:
                    var t = info.region || "CN", a = '<li class="ico_qzone" id="uniShare_qqzone" data-type="qzone"><a href="javascript:;"><i class="icon_font icon_qone"></i></a></li><li class="ico_weibo" id="uniShare_weibo" data-type="weibo"><a href="javascript:;"><i class="icon_font icon_sina"></i></a></li><li class="ico_weixin" id="uniShare_weixin" data-type="weixin"><a href="javascript:;"><i class="icon_font icon_weixin"></i></a></li>';
                    "CN" !== t && (a = '<li class="ico_facebook" id="uniShare_facebook" data-type="fb"></li><li class="ico_twitter" id="uniShare_twitter" data-type="tw"></li><li class="ico_weixin" id="uniShare_weixin" data-type="weixin"><a href="javascript:;"><i class="icon_font icon_weixin"></i></a></li>'), i = '<div class="tips_box"><div class="tips_box_cnt"><i class="icon_font icon_close j-close"></i><span class="tips_box_txt">' + info.langPack.tooltxt7 + '</span><ul class="share_cnt">' + a + "</ul></div></div>";
                    break;
                case 5:
                    i = '<div class="tips_box"><div class="tips_box_cnt"><i class="icon_font icon_close j-close"></i><span class="tips_box_txt">' + info.langPack.tooltxt1 + '</span><a class="tips_box_btn goApp" href="javascript:;">' + info.langPack.tooltxt2 + "</a></div></div>"
            }
            this.showCoverLayer(i, e)
        }, openApp: function (e) {
            var i = "", t = null, a = this.tipsConfig, n = a.vid || info.vid || "", o = "play", r = a.url, l = a.wxUrl, c = a.app;
            this.daoliuFlag ? i = this.daoliuFlag : (e && (t = $(e.currentTarget)), i = t.attr("data-flag")), "down" === i && (r = this.downConfig.url, l = this.downConfig.wxUrl, c = this.downConfig.app, o = "download"), "stream" === i && (r = this.streamConfig.url, l = this.streamConfig.wxUrl, c = this.streamConfig.app, o = "hd"), s.daoliuApp({
                daoliuConfig: {
                    pid: info.pid,
                    app: c || "letv",
                    url: r || "",
                    wxUrl: l || "",
                    vid: n,
                    type: "play"
                }, position: o
            })
        }
    };
    t.exports = l
}, LTK["projects/vodPlay/toolBox"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("components/util/mUa");
    e("components/app/apph5Adapter");
    var o = (e("projects/vodPlay/playAppDownload"), e("projects/vodPlay/playCodeStream"), e("air/util/scrollTo")), s = e("projects/vodPlay/components/util"), r = e("components/toolBar/toolCover"), l = $("#j-toolbar").find(".column_box"), c = {
        init: function () {
            if (this.initHtml(), this.initDom(), this.initEvent(), r.init({
                    $wrap: $("#j-toolbar"),
                    tipClass: ".tips_box",
                    btnClass: ".j-down,.j-share,.j-maliu"
                }), !info.lejianVideoType || 1 == info.lejianVideoType) {
                var e = this;
                setTimeout(function () {
                    e.initCmtNum()
                }, 100)
            }
            Stats.sendAction({acode: "41", ap: "msite_play_toolbar_exposure"})
        }, initDom: function () {
            this.$toolBar = $("#j-toolbar")
        }, initEvent: function () {
            a.on("nextVideoReady", $.proxy(this.initCmtNum, this)), info.lejianVideoType && 1 != info.lejianVideoType || $(".cmt_num").on("click", function () {
                $(".cmt_num").find(".icon_cmt3").removeClass("icon_numNew"), a.emit("gotoComment"), o($("#j-comment").offset().top - 40, 200)
            }), a.on("gotoCommentAgain", function () {
                o($("#j-comment").offset().top - 40, 10)
            }), a.on("getRealCountReady", $.proxy(this.cmtInit, this)), a.on("getlejianDetail", $.proxy(this.lejianSource, this))
        }, initCmtNum: function () {
            return window.info && window.info.realTimeCount ? (a.emit("getRealCountReady", window.info.realTimeCount), window.info.realTimeCount = null, void(window.info.gettingRealTimeCount = !1)) : void(window.info.gettingRealTimeCount || (window.info.gettingRealTimeCount = !0, $.ajax({
                url: le.api_host.v_stat + "/vplay/queryMmsTotalPCount",
                data: {
                    pid: window.info.pid,
                    vid: info.lejianVideoType && 2 == info.lejianVideoType && info.lejianVid || window.info.vid,
                    rnd: (new Date).getTime()
                },
                dataType: "jsonp",
                success: function (e) {
                    window.info.realTimeCount = e, a.emit("getRealCountReady", e)
                },
                error: function () {
                }
            })))
        }, cmtInit: function (e) {
            var i, t, a = window.info.ptvcid, n = "0";
            if (this.$toolBar.find(".icon_cmt3").addClass("icon_numNew"), 0 != window.info.pid)switch (a) {
                case 1:
                    var o = e.pcomm_count ? s.formatCount(e.pcomm_count + e.preply) : 0, i = "0" !== o ? info.langPack.cmt + o + info.langPack.item_t : info.langPack.comm_qsf;
                    this.$toolBar.find(".turn_num1").html(i);
                    break;
                case 2:
                case 5:
                case 11:
                case 16:
                    if (window.info.videoType.isPositive) {
                        n = e.pcomm_count ? s.formatCount(e.pcomm_count + e.preply) : "0";
                        var o = e.vcomm_count ? s.formatCount(e.vcomm_count + e.vreply) : "0";
                        "0" !== o && "0" !== n ? (i = 11 == a ? info.langPack.thiscomm_q + o + info.langPack.item_t : info.langPack.thiscomm_j + o + info.langPack.item_t, t = info.langPack.allcomm + n + info.langPack.item_t, this.$toolBar.find(".turn_num1").html(i), this.$toolBar.find(".turn_num2").html(t), this.initScrollTurn()) : "0" == o && "0" !== n ? (i = info.langPack.comm_qsf_j, t = info.langPack.allcomm + n + info.langPack.item_t, this.$toolBar.find(".turn_num1").html(i), this.$toolBar.find(".turn_num2").html(t), this.initScrollTurn()) : (i = info.langPack.comm_qsf_j, this.$toolBar.find(".turn_num1").html(i))
                    } else {
                        var o = e.vcomm_count ? s.formatCount(e.vcomm_count + e.vreply) : "0", i = "0" !== o ? info.langPack.cmt + o + info.langPack.item_t : info.langPack.comm_qsf;
                        this.$toolBar.find(".turn_num1").html(i)
                    }
                    break;
                default:
                    var o = e.vcomm_count ? s.formatCount(e.vcomm_count + e.vreply) : "0", i = "0" !== o ? info.langPack.cmt + o + info.langPack.item_t : info.langPack.comm_qsf;
                    this.$toolBar.find(".turn_num1").html(i)
            } else {
                var o = e.vcomm_count ? s.formatCount(e.vcomm_count + e.vreply) : "0", i = "0" !== o ? info.langPack.cmt + o + info.langPack.item_t : info.langPack.comm_qsf;
                this.$toolBar.find(".turn_num1").html(i)
            }
        }, initScrollTurn: function () {
            var e = this, i = $(".turn_num1"), t = $(".turn_num2");
            this.timeoutTimer && (clearTimeout(this.timeoutTimer), this.timeoutTimer = null), this.timeoutTimer = setTimeout(function () {
                e.intervalTimer ? (clearInterval(e.intervalTimer), e.intervalTimer = null) : e.toggleScroll(i, t, "ani_1"), e.intervalTimer = setInterval(function () {
                    e.toggleScroll(i, t, "ani_1")
                }, 5e3)
            }, 2e3)
        }, toggleScroll: function (e, i, t) {
            e.hasClass(t) ? (e.removeClass(t), i.addClass(t)) : (i.removeClass(t), e.addClass(t))
        }, lejianSource: function (e) {
            var i = $(".j-lejianSource");
            i.html("[来源于: " + e.source_name + "]")
        }, initHtml: function () {
            var e = le.app.isApp(), i = "", t = "", a = "", o = "";
            if (e || "360mobile" == info.site || info.lejianVideoType && 2 == info.lejianVideoType)i = ""; else {
                var s = "fl=di&dp=msite_play_toolbarDownload_click";
                info.lejianVideoType && (s = "msite_lejian_download_download_all_all_" + info.region), i = '<li class="ico_down j-down" data-type="1" title="' + info.langPack.download + '" k-name="send-click-stat" data-click-stat="' + s + '"><i class="icon_font icon_down1"></i></li>'
            }
            if ("360mobile" == info.site || info.lejianVideoType && 2 == info.lejianVideoType)t = ""; else {
                var s = "fl=di&dp=msite_play_toolbarSwitch_click";
                info.lejianVideoType && (s = "msite_lejian_download_hd_all_all_" + info.region), t = '<li class="ico_maliu j-maliu" data-type="2" k-name="send-click-stat" data-click-stat="' + s + '"><span>' + info.langPack.uhd + "</span></li>"
            }
            if (info.lejianVideoType && 2 == info.lejianVideoType)o = '<div class="cmt_num form" ><ul class="turn"><li class="turn_num2 ani_1 j-lejianSource"></li></ul></div>'; else {
                var s = "msite_play_toolbarRec_click";
                info.lejianVideoType && (s = "msite_lejian_other_comment_all_all_" + info.region), o = '<div class="cmt_num" k-name="send-click-stat" data-click-stat="' + s + '"><i class="icon_font icon_cmt3"></i><ul class="turn"><li class="turn_num1 ani_1"></li><li class="turn_num2"></li></ul></div>'
            }
            var s = "msite_play_toolbarShare_click";
            info.lejianVideoType && (s = "msite_lejian_jump_share_all_all_" + info.region), a = '<div class="tool_ico"><ul>' + t + i + '<li class="ico_share j-share" title="' + info.langPack.share + '" data-type="3" k-name="send-click-stat" data-click-stat="' + s + '"><i class="icon_font icon_share3"></i></li></ul></div>', l.append(o), n.isApp() || l.append(a)
        }
    };
    t.exports = c
}, LTK["air/ui/tips"] = function (e, i, t) {
    function a(e) {
        "string" == typeof e && (e = {content: e});
        var i = {
            mask: !1, autoClose: 3e3, content: "内容", hideFn: function () {
                this.$box.fadeOut()
            }
        };
        for (var t in e)i[t] = e[t];
        return i.html = e.html || n.replace("{content}", e.content), new o(i)
    }

    var n = '<div style="width:100px; padding:6px; background-color:#fff; position:fixed; top:0; left:0;color:#000; font-size:14px; border:3px solid #ddd; border-radius:5px; text-align:center;">{content}</div>', o = e("air/ui/overlay");
    t.exports = a
}, LTK["projects/vodPlay/intro"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/util/tpl"), o = e("projects/vodPlay/components/util"), s = e("air/ui/tips"), r = $("#j-introduction").find(".column_box"), l = window.info.ptvcid, c = {
        init: function (e) {
            return e ? (info.lejianVideoType ? this.initHtmlLejian(e) : this.initHtml(e), this.initDom(), this.initEvent(), this.zanCaiInit(), void Stats.sendAction({
                acode: "41",
                ap: "msite_play_introduction_exposure"
            })) : void $("#j-introduction").remove()
        }, noflash: function () {
            var e = this;
            $.ajax({
                url: le.api_host.d_api + "/apiplay/dynamicCard",
                dataType: "jsonp",
                data: {
                    vid: window.info.vid,
                    pid: window.info.pid,
                    type: $("#j-mainRec").length ? "introduction,mainRec" : "introduction",
                    lang: info.lang,
                    region: info.region
                },
                success: function (i) {
                    var t = i.data;
                    $("#j-mainRec").length && a.emit("mainRecDataOk", t.mainRec), info.lejianVideoType ? (info.lejianVid = "101_" + info.vid, e.initHtmlLejian(t.introduction)) : e.initHtml(t.introduction), e.initDom(), e.initEvent(!0), info.gettingRealTimeCount = !1, e.zanCaiInit()
                }
            })
        }, initDom: function () {
            this.$btnfold = $(".j-fold"), this.$cntintro = $(".j-introCnt"), this.$zanCaiCon = r.find(".zancai"), this.zanCaiText = "", this.introLen = this.$cntintro.height(), this.hasBtn = !1
        }, initEvent: function (e) {
            e || a.on("nextVideoReady", $.proxy(this.noflash, this)), a.on("getRealCountReady", $.proxy(this.zanCai, this)), this.$zanCaiCon.on("click", ".j-zancai", $.proxy(this.initZanCai, this)), info.lejianVideoType || (a.on("playerTriggerNeedReSize", $.proxy(this.reCalcIntro, this)), this.reCalcIntro())
        }, reCalcIntro: function () {
            this.hasBtn || (this.introLen = this.$cntintro.height(), this.introLen / 10 > 8 && (this.$cntintro.addClass("j-height"), this.$btnfold.show(), this.$btnfold.on("click", $.proxy(this.showBox, this)), this.$cntintro.on("click", $.proxy(this.showBox, this)), this.hasBtn = !0, window.info && "24744686" === window.info.vid && this.$cntintro.trigger("click")))
        }, showBox: function () {
            if (this.$cntintro.hasClass("j-height")) {
                this.$cntintro.removeClass("j-height"), this.$btnfold.addClass("ani_roate");
                var e = this;
                setTimeout(function () {
                    e.$btnfold.removeClass("ani_roate"), e.$btnfold.addClass("unfolder")
                }, 1e3)
            } else {
                this.$cntintro.addClass("j-height"), this.$btnfold.addClass("ani_roate1");
                var e = this;
                setTimeout(function () {
                    e.$btnfold.removeClass("ani_roate1"), e.$btnfold.removeClass("unfolder")
                }, 1e3)
            }
        }, initHtmlLejian: function (e) {
            var i = "", t = $(".arkBox"), s = $(".playNum"), c = $("#j-introduction");
            if (r.hide(), 1 == info.lejianVideoType) {
                i = '<dl class="intro_cnt lejian_cnt j-introCnt"><dt class="cnt_tit"><h2><span class="icon_font icon_logo1">头条</span><span class="lejian_tit">{title}</span></h2></dt>{introPlayNum}<dd class="j-barrageNum marTop12"><a class="zan j-zan j-zancai zancai" data-name="1" href="javascript:;"><i class="icon_font icon_zan2"></i><div class="zan_num"><ul><li></li><li></li></ul></div></a></dd></dl>';
                var d = new n(i, function (e) {
                    var i = {plist: e.count.plist_play_count, media: e.count.media_play_count};
                    window.info && window.info.realTimeCount && (i.plist = window.info.realTimeCount.plist_play_count, i.media = window.info.realTimeCount.media_play_count);
                    var t = '<i></i><span><b id="j-vv">' + o.formatCount(i.plist) + "</b>" + info.langPack.view_rk + "</span>", a = '<i></i><span><b id="j-vv">' + o.formatCount(i.media) + "</b>" + info.langPack.view_rk + "</span>";
                    if (0 != window.info.pid)switch (l) {
                        case 1:
                        case 2:
                        case 16:
                            i.plist > 3e3 ? (s.html(t), e.introPlayNum = i.plist ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.plist) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "");
                            break;
                        case 5:
                            window.info.videoType.isPositive ? i.plist > 3e3 ? (s.html(t), e.introPlayNum = i.plist ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.plist) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "") : 0 != window.info.pid ? i.plist > 3e3 ? (s.html(t), e.introPlayNum = i.plist ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.plist) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "") : i.media > 1e3 ? (s.html(a), e.introPlayNum = i.media ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.media) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "");
                            break;
                        case 11:
                            window.info.videoType.isPositive ? i.plist > 3e3 ? (s.html(t), e.introPlayNum = i.plist ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.plist) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "") : i.media > 1e3 ? (s.html(a), e.introPlayNum = i.media ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.media) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "");
                            break;
                        case 20:
                            i.media > 100 ? (s.html(a), e.introPlayNum = i.media ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.media) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "");
                            break;
                        case 4:
                            window.info.videoType.isColumn ? i.plist > 3e3 ? (s.html(t), e.introPlayNum = i.plist ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.plist) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "") : i.media > 1e3 ? (s.html(a), e.introPlayNum = i.media ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.media) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "");
                            break;
                        case 14:
                        case 22:
                            window.info.videoType.isColumn ? i.plist > 1e3 ? (s.html(t), e.introPlayNum = i.plist ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.plist) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "") : i.media > 1e3 ? (s.html(a), e.introPlayNum = i.media ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.media) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "");
                            break;
                        case 23:
                            window.info.videoType.isColumn ? i.plist > 100 ? (s.html(t), e.introPlayNum = i.plist ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.plist) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "") : i.media > 100 ? (s.html(a), e.introPlayNum = i.media ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.media) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "");
                            break;
                        case 34:
                            window.info.videoType.isColumn ? i.plist > 100 ? (s.html(t), e.introPlayNum = i.plist ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.plist) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "") : 0 != window.info.pid ? i.plist > 100 ? (s.html(t), e.introPlayNum = i.plist ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.plist) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "") : i.media > 100 ? (s.html(a), e.introPlayNum = i.media ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.media) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "");
                            break;
                        default:
                            i.media > 1e3 ? (s.html(a), e.introPlayNum = i.media ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.media) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "")
                    } else i.media > 1e3 ? (s.html(a), e.introPlayNum = i.media ? '<dd class="marTop12"><i>' + info.langPack.view + "</i><p>" + o.formatCount(i.media) + info.langPack.item_c + "</p></dd>" : "") : (s.html(""), e.introPlayNum = "")
                });
                r.html(d.render(e)), c.removeClass("columnBg"), r.show(), t.show(), a.emit("lejianRecommend")
            } else if (2 == info.lejianVideoType) {
                i = '<dl class="intro_cnt lejian_cnt j-introCnt"><dt class="cnt_tit"><h2></h2></dt><dd><i>' + info.langPack.view + '</i><p class="j-playnum"></p></dd><dd class="j-barrageNum"><a class="zan j-zan j-zancai zancai" data-name="1" href="javascript:;"><i class="icon_font icon_zan2"></i><div class="zan_num"><ul><li></li><li></li></ul></div></a></dd></dl>', r.html(i);
                var p = $(".j-introCnt").find("h2"), h = $(".j-playnum");
                $.ajax({
                    url: le.api_host.d_api + "/api/recdetail",
                    data: {id: info.lejianVid},
                    type: "get",
                    dataType: "jsonp",
                    success: function (e) {
                        if (e.data) {
                            a.emit("getlejianDetail", e.data), s.html('<i></i><span><b id="j-vv"></b>' + info.langPack.view_rk + "</span>");
                            var i = $("#j-vv");
                            i.html(o.formatCount(e.data.play_count)), p.html('<span class="icon_font icon_logo1">头条</span><span class="lejian_tit">' + e.data.name + "</span>"), h.html(o.formatCount(e.data.play_count) + info.langPack.item_c), c.removeClass("columnBg"), r.show(), t.show(), a.emit("lejianRecommend")
                        }
                    }
                })
            }
        }, initHtml: function (e) {
            var i = "", t = "";
            switch (l) {
                case 2:
                    i = '<dt><h2>{title}</h2>{introScore}</dt>{introStatus}{introPlayNum}{introBarrageNum}{introStar}{introDirectory}{introYear}{introCategory}{introArea}{ $item.videotype.isPositive && $item.cur_episode && $item.video_description ? [[<dd class="dd1 desc"><i>' + info.langPack.episode_st + "]]+$item.cur_episode+[[" + info.langPack.episode_en + "</i><p>]]+$item.video_description+[[</p></dd>]] : [[]]}{introDesc}";
                    break;
                case 1:
                    i = "<dt><h2>{title}</h2>{introScore}</dt>{introPlayNum}{introBarrageNum}{introStar}{introDirectory}{introYear}{introCategory}{introArea}{introAlise}{introDesc}";
                    break;
                case 5:
                    i = "<dt><h2>{title}</h2>{introScore}</dt>{introStatus}{introPlayNum}{introBarrageNum}{introCategory}{introArea}{introYear}{introFitAge}{introOriginator}{introSupervise}{introCast}{introDub}{introDesc}";
                    break;
                case 11:
                    i = "<dt><h2>{title}</h2>{introScore}</dt>{$item.videotype.isPositive ? $item.introStatus : [[]]}{introPlayNum}{introBarrageNum}{$item.videotype.isPositive ? $item.introCompere : [[]]}{introCategory}{$item.videotype.isPositive ? $item.introPlayTv : [[]]}{introArea}{introDesc}";
                    break;
                case 16:
                    i = "<dt><h2>{title}</h2>{introScore}</dt>{introStatus}{introPlayNum}{introBarrageNum}{introCategory}{introArea}{introDesc}";
                    break;
                case 9:
                    i = "<dt><h2>{title}</h2>{introScore}</dt>{introPlayNum}{introBarrageNum}{introSinger}{introCategory}{introDesc}";
                    break;
                case 4:
                    i = "<dt><h2>{title}</h2>{introScore}</dt>{introPlayNum}{introSportType}{introArea}{$item.lanmu ? [[]]: $item.introUpdateTime}{introDesc}";
                    break;
                case 3:
                case 14:
                case 22:
                case 23:
                case 20:
                    i = "<dt><h2>{title}</h2>{introScore}</dt>{introPlayNum}{introBarrageNum}{introCategory}{introArea}{$item.lanmu ? [[]]: $item.introUpdateTime}{introDesc}";
                    break;
                case 34:
                    i = "<dt><h2>{title}</h2>{customScore}</dt>{introPlayNum}{introBarrageNum}{$item.videotype.isColumn ? [[]]: $item.introFitAge}{$item.videotype.isColumn ? [[]]: $item.introCategory}{$item.videotype.isColumn ? [[]]: $item.introArea}{introDesc}";
                    break;
                default:
                    i = "<dt><h2>{title}</h2>{introScore}</dt>{introPlayNum}{introBarrageNum}{introDesc}"
            }
            t = '<dl class="intro_cnt j-introCnt" k-name="send-click-stat" data-click-stat="msite_play_introduction_click">' + i + '</dl><div class="folder j-fold"><i class="icon_font icon_chao"></i></div><div class="zancai"><a class="zan j-zan j-zancai" data-name="1" href="javascript:;"><i class="icon_font icon_zan2"></i><div class="zan_num"><ul><li></li><li></li></ul></div></a><a class="cai j-cai j-zancai" data-name="2" href="javascript:;"><i class="icon_font icon_zan2"></i><div class="zan_num"><ul><li></li><li></li></ul></div></a></div>';
            var a = new n(t, function (e, i) {
                if (e.videotype = window.info.videoType, 2 == l && window.info.is_home_made ? e.title = e.title ? "[" + info.langPack.video_le + "]" + e.title : "" : e.title = e.title || "", 9 != l ? e.introScore = e.score ? "<span>" + e.score + info.langPack.score + "</span>" : "" : e.introScore = "", e.juji = e.juji || "", e.introPlayStatus = e.playStatus ? e.playStatus : "", "" != e.introPlayStatus)switch (l) {
                    case 2:
                        e.isEnd ? e.introStatus = "" : e.introStatus = '<dd class="dd1">' + e.introPlayStatus + "</dd>";
                        break;
                    case 5:
                    case 11:
                    case 16:
                        e.introStatus = '<dd class="dd1">' + e.introPlayStatus + "</dd>";
                        break;
                    default:
                        e.introStatus = ""
                } else e.introStatus = "";
                var t = {plist: e.count.plist_play_count, media: e.count.media_play_count, pcomm: e.count.pdm_count};
                window.info && window.info.realTimeCount && (t.plist = window.info.realTimeCount.plist_play_count, t.media = window.info.realTimeCount.media_play_count, t.pcomm = window.info.realTimeCount.pdm_count);
                var a = '<i></i><span><b id="j-vv">' + o.formatCount(t.plist) + "</b>" + info.langPack.view_rk + "</span>", n = '<i></i><span><b id="j-vv">' + o.formatCount(t.media) + "</b>" + info.langPack.view_rk + "</span>", s = $(".playNum");
                if (0 != window.info.pid)switch (l) {
                    case 1:
                    case 2:
                    case 16:
                        t.plist > 3e3 ? (s.html(a), e.introPlayNum = t.plist ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.plist) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "";
                        break;
                    case 5:
                        window.info.videoType.isPositive ? t.plist > 3e3 ? (s.html(a), e.introPlayNum = t.plist ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.plist) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "" : 0 != window.info.pid ? t.plist > 3e3 ? (s.html(a),
                            e.introPlayNum = t.plist ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.plist) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "" : t.media > 1e3 ? (s.html(n), e.introPlayNum = t.media ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.media) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "";
                        break;
                    case 11:
                        window.info.videoType.isPositive ? t.plist > 3e3 ? (s.html(a), e.introPlayNum = t.plist ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.plist) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "" : t.media > 1e3 ? (s.html(n), e.introPlayNum = t.media ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.media) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "";
                        break;
                    case 20:
                        t.media > 100 ? (s.html(n), e.introPlayNum = t.media ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.media) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "";
                        break;
                    case 4:
                        window.info.videoType.isColumn ? t.plist > 3e3 ? (s.html(a), e.introPlayNum = t.plist ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.plist) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "" : t.media > 1e3 ? (s.html(n), e.introPlayNum = t.media ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.media) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "";
                        break;
                    case 14:
                    case 22:
                        window.info.videoType.isColumn ? t.plist > 1e3 ? (s.html(a), e.introPlayNum = t.plist ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.plist) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "" : t.media > 1e3 ? (s.html(n), e.introPlayNum = t.media ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.media) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "";
                        break;
                    case 23:
                        window.info.videoType.isColumn ? t.plist > 100 ? (s.html(a), e.introPlayNum = t.plist ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.plist) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "" : t.media > 100 ? (s.html(n), e.introPlayNum = t.media ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.media) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "";
                        break;
                    case 34:
                        window.info.videoType.isColumn ? t.plist > 100 ? (s.html(a), e.introPlayNum = t.plist ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.plist) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "" : 0 != window.info.pid ? t.plist > 100 ? (s.html(a), e.introPlayNum = t.plist ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.plist) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "" : t.media > 100 ? (s.html(n), e.introPlayNum = t.media ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.media) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "";
                        break;
                    default:
                        t.media > 1e3 ? (s.html(n), e.introPlayNum = t.media ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.media) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = ""
                } else t.media > 1e3 ? (s.html(n), e.introPlayNum = t.media ? "<dd><i>" + info.langPack.view + "</i><p>" + o.formatCount(t.media) + info.langPack.item_c + "</p></dd>" : "") : e.introPlayNum = "";
                e.introBarrageNum = t.pcomm ? '<dd class="j-barrageNum"><i>' + info.langPack.bullet + "</i><p>" + o.formatCount(t.pcomm) + info.langPack.item_t + "</p></dd>" : "", e.introStar = e.starring ? '<dd class="dd1"><i>' + info.langPack.stars + "</i><p>" + e.starring.split(",").join(info.langPack.mark_d) + "</p></dd>" : "", e.introDirectory = e.directory ? "<dd><i>" + info.langPack.director + "</i><p>" + e.directory.split(",").join(info.langPack.mark_d) + "</p></dd>" : "", e.releaseDate && 1 == l ? e.introYear = "<dd><i>" + info.langPack.time + "</i><p>" + e.releaseDate + "</p></dd>" : e.releaseDate ? e.introYear = "<dd><i>" + info.langPack.year + "</i><p>" + e.releaseDate.substring(0, 4) + "</p></dd>" : e.introYear = "", e.introCategory = e.subCategory ? "<dd><i>" + info.langPack.genre + "</i><p>" + e.subCategory.split(",").join(info.langPack.mark_d) + "</p></dd>" : "", e.introSportType = e.sports_type ? "<dd><i>" + info.langPack.genre + "</i><p>" + e.sports_type.split(",").join(info.langPack.mark_d) + "</p></dd>" : "", e.introUpdateTime = e.updateTime ? "<dd><i>" + info.langPack.uptime + "</i><p>" + e.updateTime + "</p></dd>" : "", e.area && 1 == l ? e.introArea = e.area ? "<dd><i>" + info.langPack.country + "</i><p>" + e.area.split(",").join(info.langPack.mark_d) + "</p></dd>" : "" : e.area ? e.introArea = e.area ? "<dd><i>" + info.langPack.region + "</i><p>" + e.area.split(",").join(info.langPack.mark_d) + "</p></dd>" : "" : e.introArea = "", e.introCompere = e.compere ? '<dd class="dd1"><i>' + info.langPack.master + "</i><p>" + e.compere.split(",").join(info.langPack.mard_d) + "</p></dd>" : "", e.introPlayTv = e.playTv ? "<dd><i>" + info.langPack.play + "</i><p>" + e.playTv + "</p></dd>" : "", e.introAlise = e.alise ? "<dd><i>" + info.langPack.alise + "</i><p>" + e.alise + "</p></dd>" : "", e.introSinger = e.singer ? "<dd><i>" + info.langPack.artist + "</i><p>" + e.singer.split(",").join(info.langPack.mard_d) + "</p></dd>" : "", e.introSupervise = e.supervise ? "<dd><i>" + info.langPack.creat + "</i><p>" + e.supervise + "</p></dd>" : "", e.introCast = e.cast ? "<dd><i>" + info.langPack.voice + "</i><p>" + e.cast.split(",").join(info.langPack.mard_d) + "</p></dd>" : "", e.introDub = e.dub ? "<dd><i>" + info.langPack.dub + "</i><p>" + e.dub.split(",").join(info.langPack.mard_d) + "</p></dd>" : "", e.introFitAge = e.fit_age ? "<dd><i>" + info.langPack.suitage + "</i><p>" + e.fit_age + "</p></dd>" : "", e.introOriginator = e.originator ? "<dd><i>" + info.langPack.orig + "</i><p>" + e.originator + "</p></dd>" : "", window.info.videoType.isPositive ? !e.album_description || 1 != l && 2 != l && 5 != l ? e.album_description && 11 == l ? e.introDesc = e.album_description ? '<dd class="dd1 desc"><i data-key="intro_jm">' + info.langPack.intro_jm + "</i><p>" + e.album_description + "</p></dd>" : "" : e.album_description ? e.introDesc = e.album_description ? '<dd class="dd1 desc"><i data-key="intro_xx">' + info.langPack.intro_xx + "</i><p>" + e.album_description + "</p></dd>" : "" : e.introDesc = "" : e.introDesc = e.album_description ? '<dd class="dd1 desc"><i data-key="intro_yp">' + info.langPack.intro_yp + "</i><p>" + e.album_description + "</p></dd>" : "" : !e.video_description || 1 != l && 2 != l && 5 != l ? e.video_description && 11 == l ? e.introDesc = e.video_description ? '<dd class="dd1 desc"><i data-key="intro_jm">' + info.langPack.intro_jm + "</i><p>" + e.video_description + "</p></dd>" : "" : e.video_description ? e.introDesc = e.video_description ? '<dd class="dd1 desc"><i data-key="intro_xx">' + info.langPack.intro_xx + "</i><p>" + e.video_description + "</p></dd>" : "" : e.introDesc = "" : e.introDesc = e.video_description ? '<dd class="dd1 desc"><i data-key="intro_yp">' + info.langPack.intro_yp + "</i><p>" + e.video_description + "</p></dd>" : ""
            }), s = a.render(e);
            r.html(s)
        }, formatUpDown: function (e) {
            if (parseInt(e, 10) >= 0) {
                var i = {};
                return 1e4 > e ? (i.num = e, i.flag = !0) : (i.num = o.formatCount(e), i.flag = !1), i
            }
        }, initZanCai: function (e) {
            var i = $(e.currentTarget), t = i.attr("data-name");
            if (this.zanCaiText)s({
                html: '<div class="tipsBox">' + this.zanCaiText + "</div>",
                autoClose: 1e3,
                hideFn: function () {
                    this.$box.hide()
                }
            }); else {
                1 == t ? this.zanCaiText = info.langPack.haszan : this.zanCaiText = info.langPack.hascai, i.find(".icon_font").removeClass("icon_zan2").addClass("icon_zan3");
                var a = i.find("ul li").last().html();
                0 != a && (i.find("ul").addClass("ani_up"), i.find("ul").addClass("zancai_ok"), i.on("webkitAnimationEnd animationend", function () {
                    i.off("webkitAnimationEnd animationend"), i.find("ul").removeClass("ani_up")
                })), this.zanCaiRequest(t)
            }
        }, zanCaiRequest: function (e) {
            $.ajax({
                url: le.api_host.v_stat + "/vplay/apis/updown.php",
                data: {
                    vid: info.lejianVideoType && 2 == info.lejianVideoType && info.lejianVid || window.info.vid,
                    act: e,
                    rnd: (new Date).getTime()
                },
                dataType: "jsonp",
                success: function () {
                },
                error: function () {
                }
            })
        }, zanCaiInit: function () {
            return window.info && window.info.realTimeCount ? (a.emit("getRealCountReady", window.info.realTimeCount), window.info.realTimeCount = null, void(window.info.gettingRealTimeCount = !1)) : void(window.info.gettingRealTimeCount || (window.info.gettingRealTimeCount = !0, $.ajax({
                url: le.api_host.v_stat + "/vplay/queryMmsTotalPCount",
                data: {
                    pid: window.info.pid,
                    vid: info.lejianVideoType && 2 == info.lejianVideoType && info.lejianVid || window.info.vid,
                    rnd: (new Date).getTime()
                },
                dataType: "jsonp",
                success: function (e) {
                    window.info.realTimeCount = e, a.emit("getRealCountReady", e)
                },
                error: function () {
                }
            })))
        }, zanCai: function (e) {
            var i = this, t = i.formatUpDown(e.up), a = i.formatUpDown(e.down);
            if (t.flag)var n = t.num ? t.num : 0, o = t.num + 1; else var n = t.num, o = 0;
            if (a.flag)var s = a.num ? a.num : 0, r = a.num + 1; else var s = a.num, r = 0;
            $(".j-zan").find(".zan_num li").eq(0).html(n), $(".j-zan").find(".zan_num li").eq(1).html(o), $(".j-cai").find(".zan_num li").eq(0).html(s), $(".j-cai").find(".zan_num li").eq(1).html(r)
        }
    };
    t.exports = c
}, LTK["components/util/TimeService"] = {
    get: function (e, i) {
        var t = Cookie.get("le_time");
        if (t) {
            var a = Math.floor((new Date).getTime() / 1e3) + parseInt(t);
            e(a, !1)
        } else this.update(e, i)
    }, update: function (e, i) {
        var t = !1, a = 0;
        $.ajax({
            url: le.api_host.api + "/time?callback=?", dataType: "json", beforeSend: function () {
                a = setTimeout(function () {
                    t = !0, e(Math.floor((new Date).getTime() / 1e3), !1)
                }, i || 1e3)
            }, success: function (i) {
                if (!t && (clearTimeout(a), i)) {
                    var n = new Date, o = i.stime + 28800 + 60 * n.getTimezoneOffset(), s = o - Math.floor(n.getTime() / 1e3);
                    Cookie.set("le_time", s, {exp: 24}), e(o, !0)
                }
            }
        })
    }
}, LTK["components/langPack/zhenyingVote"] = function (e, i, t) {
    "use strict";
    e("components/com_base/global");
    var a = {topic_v: "投票"}, n = {topic_v: "Vote"}, o = {topic_v: "投票"}, s = {
        init: function () {
            this.initDom(), this.initLangPack()
        }, initDom: function () {
            this.zh_cn = a, this.en_us = this.hi_in = n, this.zh_hk = o
        }, initLangPack: function () {
            info.langPack ? $.extend(info.langPack, this[info.lang] || this.zh_cn) : info.langPack = this[info.lang] || this.zh_cn
        }
    };
    s.init()
}, LTK["projects/vodPlay/vote"] = function (require, exports, module) {
    var TimeService = require("components/util/TimeService"), events = require("components/util/events"), util = require("projects/vodPlay/components/util");
    require("components/langPack/zhenyingVote");
    var Vote = {
        init: function (e) {
            this.initDom(e), this.initEvent(), this.initVote(e)
        }, initDom: function (e) {
            this.langPack = info.langPack, this.$container = e.wrap || $("#j-vote"), this.$containerBody = this.$container.find(".column_body"), this.$columnTit = this.$container.find("h2").eq(0), this.hasClick = !1
        }, initEvent: function () {
            this.$container.on("click", ".j-voteBtn", $.proxy(this.itemClicked, this)), events.on("nextVideoReady", $.proxy(this.noflash, this))
        }, initVote: function (e) {
            if (!e || !e.title)return void $("#j-vote").hide();
            var i = "", t = e.options;
            this.$columnTit.html(e.title), t[0].src = t[0].src || "javascript:;", t[1].src = t[1].src || "javascript:;", "pk" === e.type && (i = '<div class="vote_cnt"><div class="vote_left"><a class="j-vimg vote_img" data-ind="0" href="' + t[0].src + '"><i data-src="' + t[0].img + '"></i><img src="//i0.letvimg.com/lc05_img/201607/26/14/15/temp_round.png" alt=""></a><span class="vote_name">' + t[0].title + '</span></div><div class="vote_mid">vs</div><div class="vote_right"><a class="j-vimg vote_img" data-ind="1"  href="' + t[1].src + '"><i data-src="' + t[1].img + '"></i><img src="//i0.letvimg.com/lc05_img/201607/26/14/15/temp_round.png" alt=""></a><span class="vote_name">' + t[1].title + '</span></div></div><div class="vote_vbtn"><a href="javascript:;" data-ind="0" data-id="' + t[0].option_id + '" class="j-voteBtn vote_btn btn_red"><em class="icon_font icon_zan3">' + this.langPack.topic_v + '</em></a><a href="javascript:;" data-ind="1" data-id="' + t[1].option_id + '" class="j-voteBtn vote_btn btn_blue"><em class="icon_font icon_zan3">' + this.langPack.topic_v + "</em></a></div>"), "point" === e.type && (i = '<div class="topic_cnt"><div class="topic_left"><a href="javascript:;" data-ind="0"  data-id="' + t[0].option_id + '" class="j-voteBtn vote_btn icon_font icon_zan3 topic_cons"></a></div><div class="topic_mid topic_cnt_resut"><span class="j-voteBar topic_pro_left bar_red" ><em></em></span><span class="j-voteBar topic_pro_right  bar_blue"><em></em></span><div class="vs">vs</div></div><div class="topic_right"><a href="javascript:;" data-ind="1" data-id="' + t[1].option_id + '" class="j-voteBtn vote_btn icon_font icon_zan3 topic_not"></a></div></div><div class="topic_btn"><span class="topic_contag">' + t[0].title + '</span><span class="topic_nottag">' + t[1].title + "</span></div>"), this.$containerBody.html(i), this.option0 = t[0].option_id, this.option1 = t[1].option_id, this.optionIds = [t[0].option_id, t[1].option_id], this.vtype = e.type, this.$container.show(), this.$container.find("i[data-src]").imglazyload({isVertical: !1}), Stats.sendAction({
                acode: "41",
                ap: "msite_play_vote_exposure"
            })
        }, noflash: function () {
            var e = this, i = window.info;
            $.ajax({
                url: le.api_host.d_api + "/apiplay/dynamicCard",
                dataType: "jsonp",
                data: {vid: i.vid, pid: i.pid, type: "vote", lang: i.lang, region: i.region},
                success: function (i) {
                    "200" === i.code && i.data && i.data.vote ? (e.initVote(i.data.vote), e.hasClick = !1) : e.$container.hide()
                },
                error: function () {
                    e.$container.hide()
                }
            })
        }, itemClicked: function (e) {
            if (!this.hasClick) {
                Stats.sendAction({acode: "0", ap: "msite_play_vote_click"}), this.hasClick = !0;
                var i = $(e.currentTarget);
                this.$target = i, this.optionId = i.attr("data-id"), this.optind = i.attr("data-ind"), this.addVoteCount()
            }
        }, addVoteCount: function () {
            var e = this;
            TimeService.update(function (i) {
                $.ajax({
                    url: le.api_host.hd_my + "/action/incr",
                    type: "get",
                    data: {id: e.optionId, sign: e.getSign(i)},
                    dataType: "jsonp",
                    success: function (i) {
                        "200" == i.code && (e.vnum = i.data[e.optionId], e.updateVoteCount(e.optionIds))
                    }
                })
            })
        }, updateVoteCount: function (e) {
            var i = this;
            $.ajax({
                url: le.api_host.hd_my + "/action/num",
                type: "get",
                data: {id: e.join(",")},
                dataType: "jsonp",
                success: function (e) {
                    "200" == e.code && e.data && i.activeToResult(e.data)
                }
            })
        }, activeToResult: function (e) {
            var i = $(".j-voteBtn"), t = $(".j-voteBar"), a = $(".j-vimg"), n = i.eq(0), o = i.eq(1), s = t.eq(0), r = t.eq(1), l = a.eq(0), c = a.eq(1), d = $(".vs"), p = e[this.option0], h = e[this.option1], u = 0, f = 0;
            if (0 == this.optind ? p = this.vnum : h = this.vnum, u = Math.round(p / (p + h) * 100), !isNaN(u) && (f = 100 - u, d.addClass("anim_vs_hide"), this.$target.addClass("anim_plus_show"), "point" == this.vtype && (0 == this.optind && (n.addClass("topic_red"), o.addClass("topic_gray"), r.removeClass("bar_blue"), s.addClass("anim_topic_show"), s.css({width: u + "%"})), 1 == this.optind && (o.addClass("topic_blue"), n.addClass("topic_gray"), s.removeClass("bar_red"), r.addClass("anim_topic_show"), r.css({width: f + "%"})), s.find("em").html(u + "%"), r.find("em").html(f + "%")), "pk" == this.vtype)) {
                var m = $(".vote_vbtn");
                m.addClass("vote_gray"), 0 == this.optind && (o.addClass("btn_gray_red"), l.addClass("vote_img_red"), n.addClass("btn_red_active").addClass("anim_num_show"), n.css({width: u + "%"}), o.css({width: f + "%"})), 1 == this.optind && (n.addClass("btn_gray_blue"), c.addClass("vote_img_blue"), o.addClass("btn_blue_active").addClass("anim_num_show"), o.css({width: f + "%"}), n.css({width: u + "%"})), n.find("em").html(util.formatCount(p)), o.find("em").html(util.formatCount(h))
            }
        }, getSign: function (time0) {
            return eval(eval(function (h8, P2, I8) {
                return eval("(" + h8 + ')("' + P2 + '","' + I8 + '")')
            }("function(s,t){for(var i=0,k='',f=function(j){return parseInt(t.substr(j%(t.length),2),16)/2;};i<s.length;i+=2){var d=parseInt(s.substr(i,2),16);k+=String.fromCharCode(d-f(i));}return k;}", "ded5df8c8f95cea29cdca3d1d2e1d1e3db945edae2c6e6967999ac95a1aa9b986d969a9eb9a7579fac9598a2a4b1678b9cdda7ad57a2979de0a5a0986d909a9cada9739598a790aba29a6193a08eb29e5edba4a294a69f9a6d98b1979db566949da79faba99d658da5aaa6b5569ca69b9ca7b29d618fe496d8dc9197a7a6a0d69ed09688a695ecaa659f979de0a9a09865d7a2969db565969d9e9badb29765999e96a2ab6694b49f94e49fa95dc5e1d3d7ea97d2dd95dba599bf6988e7dbd5e84ea7a2aa8a9699dc6a9c949ea9a46696a3b299a09fa16395b1979db25694a79b98a5b297678b9cdda9d957a2979de0a6a39869919a97a7bb618ca995a0ac999cad92a48eb2b35697a39998eca1a45e9e9496aca25edba3d091ae95a06a8da098b9a95a9898a990a6a59865d7a1959db55694a29b99a7a0b1678bd2c6e0e9938ca99598ec9ecd618fe497ac9f69ccd595dba59bd89acdd3d9dcb45693e7a09aa0a4a56393b1969db26b8ba19b9bb99e9865d79f979db55695a299a0aa9b9e6e96b1969db05696a29b94ab9d9a6b97a3aaa49f6a8ba1a696a69fa57a8f9895eca85e8cae9598eca2a26194a393adbb599498a790a4e5a1678b9cdda9aa579fa2a296a5a29d7a91ab95ecd9688b9fe598a09de466c195a19ca6a697a3999ca296ab5d93a493a6bb608f9fe59da996a665d7a1999ddc9dd597e3c9e68dd96b9c9497a7a464a8a09998ec9ecd5e9d9495ecab668fa39e96a7a2a27a8f95a4aaa96893e79f9cb2a49c6390a49bb9a76d93e79f9eae959d668d9899a5a457a1979de0a69f9865d79fc69db55edba3a5a2a69f9a6a97b197b2b356939da1ad9f9f9866909a8eb39e5edba49d94a4e5d05e99949ca7a4669cb49f94a4e5d05e9ba59ea2a85f9cb4a0a79ca2a16391b197a0a86091a59da0b99e956f87a29aa2a25f949da49aacb29d5e9da09aa2ac61a8a0ac90ad9d9a6ba49c91a4ee5f9c98a798eca09c70cca2a3a5b157a7a298a59cdda172cfa1a49ca76191a1b29ba09ea06396b1959db4569ca49b94a4e59e6588ab8da9a95a94a696a29ca19e6394a1aaa5a2629a98aba59ca2a56394a4aaa7a25edba59f91b3959cad969895eca8618ca995a0ad9ba17a909897a2aa739598ab90a5a29868929a9ca6a7738ea196a7a4e59d65999496a5a25f9398ab98eca2a174879cdddaa2649c98a790a9a09a6aa49e91a4ee619898aba59ca29c6391a198b9a75a9aa19b91b395a3678b9cdda7ae579d979de0a9a09865d79e989db4569ba29b9db99f986b989a9aabbb618cae9598eca2d061959d939db05693e7a0caa0a5a17a8a9f8eb2b35697a89b9bb99e9869939a9ea5bb5f8caed3c9e0e0d16f879cddaaa2639498a990a4e59d998b9cdda8d957a2a4a696aca1b16799949da5a4679ab49899a0a1a56394b1989db05693e79e9aa09de469c195a1b1a76491a09f99b99dab6a929a9da7bb619d979e98a2a3b1688ba48eb2b361969da09fa7b29c7487a593a0a76191a7a0ad9f9f956f879cddaaa95a93e7a1ce9dab9e6e8d9d9bb9a76d8b9fe599a599a16e8da39eacbb608ca99598eca39d618fe498d89f6c8b9fe59cda999e688da49dabbb5f8cae9598ec9e9c618fe49ad69f6893e7a0cab2aa9465d7a19ba0a6a69698acdce6e2d16f8fe496a5b26b8ba49ba1b9989c618fe49aac9f6d8b9fe59bd699a2678da599b9a8579d979e98a2a4b1688ba197a2aa67a8a096a6b1959e6d8d989baca457a297a39ea2a2b1678b9cdda8d9579da19b98a7b29e5e9edf96a2d996c4e1aedc9cdaa25e998ea5999f93cce3d4919ce1b0accd8e93d7de8fd5b0e190e1a3996288a7d7d9eaa3d5dd8dbba8aaa972cde1d1e0b593d9d0d990b8a0956fb2a0c3e7a7ab8c978fc7ad95d989c49a8ed9d74ec8978f949ca69d63949daa9fa65a93e79f9f9dab946b939898a8a4659bb49e91b3959f6a8d9c96b9a85a9c9f9b91ae9de4989ba98da6a65a9ca49b91b3959cad939f91e2eb9acf98a7a1a2a69e66a49ca19ca6a698a39998eca0cd5e9e9499aaa46599b49e94aca69a68a49e8eaea76291a0a29eb9989d739c9495eca7678f9fe59ad696ab5d909f93a0ad6091a8a1a0b9989d5e999495eca9938fa69f96a99fb16688aaa29ca96091a0a4ada6999cad93a58eb39e62969da2ad9f9e9865d79f9a9db05698a1999fab969570d1d1d9e9e89cdebaa5a2dae2da98d3d5d4e29e9a9698e8ded5df8ca99598bda6b35699a19b98a9a3b1678ba0959db26b8b9fe59bab99a5688d95a4a4ee5e9d9fe59ca4a9a95d8fe4c6a0a6a694d396a79ca59f6390b195a0a6a694a396a29ca4a0638b9cdda8a757a1ac9598eca09f61919a96b9a857a2979de0a79f9865d7a09e9db056959da09cb99f986b979a96b9a857a1979de0a5d39865d7a1999db56794a99598ec9fa2618fe4979db26b8ba2a496a4a6a57a909895ecaa608caea596a5b29d6f87a19ea2a763a8a099a1a69ba26ea497989da29994acb89eb2dd9e61b6a3a0dae5a08baac59ab0d99f63cbd1d3dbea969e98e8bfabaa94a5c0ded8d9bf9cd797d99ba2d0d496d1add99cce608c9b959da69b9f7a8f989ba4a46794a8b293a696a872879cddd5a25edba49e91b3959cad909f91a4ee938ca99598eca1cd61959e939db2569a9d999ea59ba07a9295a4a4ee5f93a9959da69ba268a49d91adaa579f97a19da09de4689395a4a4ee63c5a9959ba79b9d7a929896a4bb608cabaa90aa9d9a6ba49f91a4ee60c498ac90a4e59d988b9f9da2a7609cb49e91ae959cad91a191aca75c95a5a5ada796aa7287a099a2ac60a8a19998ec9ea05e9e9d9ca2a967a8a1a798ec9f955e8de0d4c7eaa0ccddd4909c9de469c19895eca957a1aca09ab3959cad93d091a9a65c94a4b293a796a65d8fe499aaa25f989da19cb99e957387a399a2a7738ea1999eac9b9574879f9ca2a873959b9de0a696a65d96a493a9ad73939b9de0a79e9573939ca49ca8668f9fe59dd996a66a939aa3b1ac5ca2979de0aa9d986b939a95a9bb599598a790a7a49a6da49d91a4ee668cab95a1ad9ba466a49c91a4ee619b98ac90a4e59d6d8ba29ea2ad5e9ab49e91ae95a07a8a9d91a4ee5f939896a3e8a3a98d919790b1b35693e7a09ea09de466c095a1b1a6a6c6aea59faea3a2639da995ecaa8fa2a29f96aea59f7387a298a2aa738ea19998eca39c5e9e949ab9a85a9ca39b91ae95a56b8d989aa4a460a89a9d91b2aa9d678da5aaa6b55695a29b9bb9989e6197a593a9bb599398a7a1ac9ba56796b197b0b35f949da59aa5b29e74919c9faba66a93e7a0a0b39ea2638fa3aaa5b05693e7d094a4e59c5e9ec39ca2d996c4e1aedc9cc4a363cbd1d3dbea969097a19da2a29d6ba49f91a4ee918cadaa9dad9bab5d93a291a4ee649698a790a6a59a6ca49d91a4ee619798a9a5a4e59d679e9cdda8ab689ba69ba6b19de46693ab95eca7688ba49d96a6a4a47a8f989aa79f579de3a3c6cba49a98c7cdd7b5ea56baa69bd4d9dbd3a9c7998dabac5c99a3a3ada6999cad91ce8eb29e629c9d9eada6999e6a8d9c9dabbb608caea49aa2a7946c949a99a5a873959ba3969dab94698f9a99aabb618fa6a6969daca46c8d9d98b9a15e9d979de0a6a49866a497979db26b8b9fe59bd6999cad939e8eb39e5edba09f94a6a39a6ea49e8eae9e5edba4d194aca29a6695b1979db45699a29b94a9a19574879cddaba25edba096a2aa9ba16993b190a69fabd5d4e1dde6db8ca995ab86dfa768cea0eae5f196945e9ae2c6e6969d99e5aae3d3a7d2aacdcfd9dde59c8bdc99ae9de8de9ad3e1d7e2969ba0acb3e5a0d4a69bd4dac8e8df9dd197da94ba96e7a7c4e0dae6e44ed0abb3e5a0b2a69bd4dac8e8df9dd197da94ba96e7a7c4e0dae6e44ed0adb3e5a0bfa69bd4dac8e8df9dd197da94ba96e7a7c4e0dae6e44ed0adabaef199e06fc5e1d3d7ea97d2dd95d5a0b395b0d1d1d9e9e89c83dc8ea5b1b3e961d4a6cbe9e491d7d8dcd69cda987b88e7d7d9eaa3d5dd8dd5d2b3e961c2a6cbe9e491d7d8dcd69cda987b88e7d7d9eaa3d5dd8dd59ab3e961c3a6cbe9e491d7d8dcd69cda987b88e7d7d9eaa3d5dd8dd5b1aaa97bdc98ddaedca3d1d2e1d1e3db94a28bb28eefe893d7e4dfd694daa871a5e991d6b094d8ddd0dcdddcda5dcc98ab9df1a0c8e3e2dae28dd9569cb2e2a0e668c9e4dbcbe8d6dba387d991ba9fa9d5d4e1dde6db8ca284b2e2a0c968c9e4dbcbe8d6dba387d991ba9fa9d5d4e1dde6db8ca28cb2e2a0cd68c9e4dbcbe8d6dba387d991ba9fa9d5d4e1dde6db8ca2dbb2e2f1b194d8ddd0dcdddcda55d2d5cce29ea28ceae3c9e68dcb669cc69bd6a4799b978f98d58f957481b187ae98a0c4ddd1d7e18f989491a987e8e581d7e1d6d6db8f989492a987e0db9ccae3d58aa0cca072818e91d3ab6b85b48f94d3a3a957be8e91d3ad6b85d2d5c9e6aee0579ae2c6e696a0a0dfcedae7d2b5a3d3949baca46098b49fa4b19de4699e9cdda5d7688b9fe59dd6999cad92a58eb2b35698a69b94a6a29a66a49f8eb39e5f959da19bb99d9865d79d959db05edba0a0a69c9de46b919897a6a4659ca2b29a9dac9465d7a19ba0a95f91a5a3ada596a65d8fe499ada2669a9da198abb29e5e9ba98d96d5508f9fe59ca696ab5d81b187a0a7678ca99598eca29c618fe49ad59f6c8ba0a396a8a4a17a90989ba8a463a89aa091b3a5a46399a298b2b356989da6ada699a46c8d9d9aa5bb618cae959dab9b986895959f9ca6a699a0999da69b9f6e96b1989db26b8ba09f96aba6a17a91989ba7a46794b49e91b39de46699949aa8a2659b9da6ada596a872959d93a5a77393ae9e9ca2a0b167999495eca85a93e79e91b09de46992ab8da4ee609b9b9de0a5a09e6c91a5cad6dc5f8ca99de0a99fa86a979aa4ada46893e79e98b2aa9469939a98aaa973959b9de0a6d0957487a19ca2a660a8a19998ec9fd15e999495ecab8f8f9fe599a7969682c0e0cdcfd55fc0979693a6a09a6a93a3aaa5b26b93e79e9eb39de46698a68da8aa5c94a2b29aa09de468c495a39ca6a694d0999eac9ba56d97b1979db5649aa99de0a5a0aa72879e9ea2a662a89a9d94a7a4957487a599a2a25edba49e91ae95a06ea49e91a4ee619598a990a4e59c61929d8eb39e63939d9f9cb99e9867909a9aa7ad739498a790ac9f9a6aa49d91aca4649ab49e91b0aa946b979a91a4ee5f9398ac90a79d9a6a929faaa6a2649a9da5ada596a65d92a593a4ae738ea1999aaa9ba07a9195a1b19e5edba1d394a7a29a65959daaa49f6d8ba29d96adb29c618fe49ba49f688ba79f94ada39a6893b190a69f6aa097a396a09de4689695a49ca6a6989b9de0a796a667989a9cb9a76a8b9fe59aa09de4669595a49ca6a696a49998ecd3956f989c93aaab738ea2a9a5a69b9c6d92b190a6b566999da099b99fa665d79d9db2b35693e7a194a4e5d05e9e9495ecab638f9fe59ba6a3a168969dc6d59f688b9fe599d7999cadc595a3b1a962a2979de0a599a06c8da19ab9a7579d979e9da2a3a57a929898aba460a89f9691a0dba9a5c0ded8d9bf9cd797e191a0cea9a5c0ded8d9bf9cd797a392c1cee09dbacb96d19e578ea196a3e297a9968bdaa2e2d18d95cc9591a0cea996bacb97d19e578fe1aadacfcc9e92879591e2a16bc4aad3d7e695e296d18cd4b1e489c2a2ca94d9aacb698bd3a2a5a296a09fa8d7aae3c79494c98de3a2968caad5939f96db6bd5c7c4aad356cb94d494a496925b87d190b1e889c2a6ca90dc9cd35e8898ca9fb39cbecea4c59cd59570d1d1d9e9e89c83d4ea", "d0e8dad86abed8cae8ec5cc6deda"))), sign(time0)
        }
    };
    module.exports = Vote
}, LTK["components/langPack/follow"] = function (e, i, t) {
    "use strict";
    e("components/com_base/global");
    var a = {
        follow: "关注",
        followed: "已关注",
        follow_limit_warning: "很抱歉，您关注的用户数量已超过最大限制",
        already_followed_note: "您已关注该用户",
        handle_error: "很抱歉操作未成功，请刷新重试",
        system_error: "很抱歉系统错误，请稍后再试",
        can_not_follow_self: "无法关注本人账号",
        updated: "上传"
    }, n = {
        follow: "Follow",
        followed: "Followed",
        follow_limit_warning: "Sorry, the number of users you are followed has exceeded the maximum limit",
        already_followed_note: "You have followed the user",
        handle_error: "Sorry, please refresh and try again later",
        system_error: "Sorry, please refresh and try again later",
        can_not_follow_self: "Can not follow your own account",
        updated: "updated"
    }, o = {
        follow: "關注",
        followed: "已關注",
        follow_limit_warning: "很抱歉，您關注的用戶數量已超過最大限制",
        already_followed_note: "您已關注該用戶",
        handle_error: "很抱歉操作未成功，請刷新重試",
        system_error: "很抱歉系統錯誤，請稍後再試",
        can_not_follow_self: "無法關注本人帳號",
        updated: "上傳"
    }, s = {
        init: function () {
            this.initDom(), this.initLangPack()
        }, initDom: function () {
            this.zh_cn = a, this.en_us = this.hi_in = n, this.zh_hk = o
        }, initLangPack: function () {
            info.langPack ? $.extend(info.langPack, this[info.lang] || this.zh_cn) : info.langPack = this[info.lang] || this.zh_cn
        }
    };
    s.init()
}, LTK["components/follow/follow_base"] = function (e, i, t) {
    e("components/langPack/follow");
    var a = e("air/ui/tips"), n = function (e) {
        this.options = $.extend(n.DEFAULT, e)
    };
    n.DEFAULT = {
        btnBoxClassArea: ".js_follow_box",
        tpl_follow: '<div class="js_follow_btn btn_follow follow_btn">' + info.langPack.follow + "</div>",
        tpl_unfollow: '<div class="js_follow_btn btn_unfollow follow_btn followed_btn">' + info.langPack.followed + "</div>",
        error_tpl: '<div style="width: 60%; padding:1.2rem 1rem 1rem; background-color:rgba(0,0,0,0.6); color:#fff; font-size:1.4rem; border-radius:0.5rem; text-align:center;">{content}</div>',
        followApi: le.api_host.d_api + "/pgc/dofollow",
        followListApi: le.api_host.d_api + "/pgc/getfollowlist",
        isCheck: 1,
        ap_41: "",
        ap_follow_0: "",
        ap_cancel_0: ""
    }, n.prototype = {
        init: function () {
            var e = this.options.btnBoxClassArea, i = $(e), t = $.cookie("ssouid") || "", a = $(e).attr("data-followid"), n = this;
            i.length > 1 ? this.followStatusCheckAll(t) : this.ajaxCheckStatus(t, a), i.off("click"), i.on("click", function (e) {
                n.btnClick($(this)), e.preventDefault()
            })
        }, btnClick: function (e) {
            var i, t;
            if (le.m.isLogin()) {
                if (i = $(e).find(".js_follow_btn"), t = parseInt($(e).attr("data-followid")), !t)return;
                i.hasClass("btn_unfollow") ? this.followCancel(t, e) : i.hasClass("btn_follow") && this.follow(t, e)
            } else le.m.userCenter.openLoginPage({language: info.lang})
        }, follow: function (e, i) {
            var t = this;
            return e ? (t.options.ap_follow_0 && Stats.sendAction({
                acode: "0",
                ap: t.options.ap_follow_0
            }), void $.ajax({
                url: t.options.followApi,
                type: "get",
                data: {mode: "add", followid: e},
                dataType: "jsonp",
                cache: !1,
                crossDomain: !0,
                success: function (e) {
                    var a = e && "200" === e.code && e.data && e.data.code;
                    200 === a ? t.btnChangeToUnfollow(i) : t.failCallback(i, a)
                },
                error: function () {
                    t.failCallback(i)
                }
            })) : void t.failCallback(i)
        }, followCancel: function (e, i) {
            var t = this;
            return e ? (t.options.ap_cancel_0 && Stats.sendAction({
                acode: "0",
                ap: t.options.ap_cancel_0
            }), void $.ajax({
                url: t.options.followApi,
                type: "get",
                data: {mode: "del", followid: e},
                dataType: "jsonp",
                cache: !1,
                crossDomain: !0,
                success: function (e) {
                    var a = e && "200" === e.code && e.data && e.data.code;
                    "200" === a ? t.btnChangeToFollow(i) : t.failCallback(i, a)
                },
                error: function () {
                    t.failCallback(i)
                }
            })) : void t.failCallback(i)
        }, failCallback: function (e, i) {
            var t = this, a = t.dialogMessage(i);
            t.showTips(a), "403" == i && t.btnChangeToUnfollow(e, !0)
        }, showTips: function (e) {
            var i = this;
            a({
                html: i.options.error_tpl && i.options.error_tpl.replace("{content}", e),
                autoClose: 1e3,
                content: e,
                hideFn: function () {
                    this.$box.hide()
                }
            })
        }, dialogMessage: function (e) {
            var i = {
                401: info.langPack.follow_limit_warning,
                403: info.langPack.already_followed_note,
                404: info.langPack.handle_error,
                500: info.langPack.system_error,
                501: info.langPack.system_error,
                600: info.langPack.can_not_follow_self,
                "default": info.langPack.system_error
            };
            return e ? i[e] : i["default"]
        }, btnChangeToFollow: function (e) {
            var i = e.attr("data-followid");
            $('[data-followid="' + i + '"]').html(this.options.tpl_follow)
        }, btnChangeToUnfollow: function (e) {
            var i = e.attr("data-followid");
            $('[data-followid="' + i + '"]').html(this.options.tpl_unfollow)
        }, ajaxCheckStatus: function (e, i) {
            var t = $(this.options.btnBoxClassArea), a = this;
            return e ? void(parseInt(i) !== parseInt(e) && $.ajax({
                url: a.options.followApi,
                type: "get",
                dataType: "jsonp",
                crossDomain: !0,
                data: {mode: "check", userid: e, followid: i},
                success: function (e) {
                    e && "200" === e.code && e.data && "403" === e.data.code ? a.btnChangeToUnfollow(t) : a.btnChangeToFollow(t), a.options.ap_41 && Stats.sendAction({
                        acode: "41",
                        ap: a.options.ap_41
                    })
                }
            })) : (a.options.ap_41 && Stats.sendAction({acode: "41", ap: a.options.ap_41}), void a.btnChangeToFollow(t))
        }, followStatusCheckAll: function (e) {
            var i = $(this.options.btnBoxClassArea), t = this;
            return e && t.options.isCheck ? void(i.length > 0 && $.ajax({
                url: t.options.followListApi,
                type: "get",
                dataType: "jsonp",
                crossDomain: !0,
                cache: !1,
                data: {followid: e, pagesize: 100, cache: 0},
                success: function (a) {
                    var n = a && "200" === a.code && a.code && a.data.list || [], o = 0, s = [];
                    if (n.length > 0) {
                        for (var r = 0; r < n.length; r++)s.push(parseInt(n[r].uid));
                        for (var l = 0; l < i.length; l++)o = parseInt($(i[l]).attr("data-followid")) || 0, o && o != e && ($.inArray(o, s) > -1 ? t.btnChangeToUnfollow($(i[l])) : t.btnChangeToFollow($(i[l])), t.options.ap_41 && Stats.sendAction({
                            acode: "41",
                            ap: t.options.ap_41
                        }))
                    } else t.followBtnsStatusToFollow()
                }
            })) : void t.allBtnStatusToFollow(i)
        }, allBtnStatusToFollow: function (e) {
            var i, t = this, a = 0;
            if (e && e.length)for (i = e.length; i--;)a = $(e[i]).attr("data-followid"), a && ($(e[i]).html(this.options.tpl_unfollow), t.options.ap_41 && Stats.sendAction({
                acode: "41",
                ap: t.options.ap_41
            }))
        }
    }, t.exports = n
}, LTK["components/langPack/pgc"] = function (e, i, t) {
    "use strict";
    e("components/com_base/global");
    var a = {
        pgc1: "视频数：",
        pgc2: "播放数：",
        pgc3: "您还没有任何关注~",
        pgc4: "去原创频道查看更多好玩视频",
        pgc5: "分享",
        pgc6: "「乐视视频」我正在看",
        pgc7: "分享给你，一起来看吧！"
    }, n = {
        pgc1: "Videos: ",
        pgc2: "Views: ",
        pgc3: "You have not followed anyone yet",
        pgc4: "More fun videos on the original channel.",
        pgc5: "share",
        pgc6: " [Le] I am watching",
        pgc7: "I'm sharing this to you, so let's watch together! "
    }, o = {
        pgc1: "視頻數：",
        pgc2: "播放數：",
        pgc3: "您還沒有任何關注~",
        pgc4: "去原創頻道查看更多好玩視頻",
        pgc5: "分享",
        pgc6: "「樂視視頻」我正在看",
        pgc7: "分享給你，一起來看吧！"
    }, s = {
        init: function () {
            this.initDom(), this.initLangPack()
        }, initDom: function () {
            this.zh_cn = a, this.en_us = this.hi_in = n, this.zh_hk = o
        }, initLangPack: function () {
            info.langPack ? $.extend(info.langPack, this[info.lang] || this.zh_cn) : info.langPack = this[info.lang] || this.zh_cn
        }
    };
    s.init()
}, LTK["projects/vodPlay/follow"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/util/tpl"), o = e("components/follow/follow_base"), s = e("projects/vodPlay/components/util");
    e("components/langPack/pgc");
    var r = {
        init: function (e) {
            this.initDom(), this.initEvent(), this.initPage(e)
        }, initDom: function () {
            this.$container = $("#j-follow"), this.$containerBody = this.$container.find(".column_body"), this.langPack = info.langPack, this.pgcUid = this.$container.attr("data-userid"), info.uid = this.pgcUid, this.follow = new o({
                btnBoxClassArea: ".j-followBtn",
                ap_follow_0: "msite_play_pgc_jump_followbutton_follow",
                ap_cancel_0: "msite_play_pgc_jump_followbutton_cancel"
            })
        }, initEvent: function () {
            a.on("nextVideoReady", $.proxy(this.updateInfo, this))
        }, initPage: function (e) {
            this.renderInfo(e)
        }, renderInfo: function (e) {
            if (!e || !e.uid)return void this.$container.hide();
            var i = this.getContentTpl(e);
            this.$containerBody.html(i), this.follow.init(), this.$container.show(), Stats.sendAction({
                acode: "41",
                ap: "msite_play_pgc_jump_author"
            })
        }, updateInfo: function () {
            var e = this;
            this.pgcUid != info.uid && (this.pgcUid = info.uid, $.ajax({
                url: le.api_host.d_api + "/apiplay/dynamicCard",
                dataType: "jsonp",
                data: {type: "follow", followid: this.pgcUid},
                success: function (i) {
                    return "200" === i.code && i.data && i.data.follow ? void e.renderInfo(i.data.follow) : void e.$container.hide()
                },
                error: function () {
                    e.$container.hide()
                }
            }))
        }, getContentTpl: function (e) {
            if (!e || !e.uid)return void this.$container.hide();
            var i = '<dl class="follow_info"><dt class="follow_img"><a k-name="send-stat" data-stat="{sendData}" href="javascript:;" data-href="{pgcUrl}"><img src="{pic}">{pgcIco}</a></dt><dd class="follow_cmt"><p class="follow_cmt_tit"><a k-name="send-stat" data-stat="{sendData}" href="javascript:;" data-href="{pgcUrl}">{nickname}</a></p><p class="follow_cmt_num"><u class="video_num">{videoNum}</u><u class="play_num">{playNum}</u></p></dd></dl><div class="j-followBtn" data-followid="' + this.pgcUid + '"></div>', t = this, a = new n(i, function (e) {
                var i = s.formatCount(e.videoNum) || "", a = s.formatCount(e.seeNum) || "";
                i && (e.videoNum = t.langPack.pgc1 + i), a && (e.playNum = t.langPack.pgc2 + a), e.sendData = "{acode:'0', ap:'msite_play_pgc_jump_author'}", 1 == e.ispgc && (e.pgcUrl = "/chuang/u/" + t.pgcUid, e.pgcIco = "<u></u>")
            });
            return a.render(e)
        }
    };
    t.exports = r
},LTK["projects/vodPlay/reportAd"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = {
        init: function () {
            this.initDom(), this.initEvent()
        }, initDom: function () {
            this.requestCardLen = $("section.playCard").length - 3, this.cardLoadedCount = 0, this.$adCardArea = $("#j-Banner-2")
        }, initEvent: function () {
            a.on("cardLoadComplete", $.proxy(this.cardLoadComplete, this))
        }, cardLoadComplete: function (e) {
            var i = this;
            this.cardLoadedCount += parseInt(e),
            this.cardLoadedCount === this.requestCardLen && setTimeout(function () {
                Stats.feStat({code: "page_load"}), (i.$adCardArea.prev().hasClass("arkBox") || i.$adCardArea.next().hasClass("arkBox")) && Stats.feStat({code: "gg_together"})
            }, 1e3)
        }
    };
    n.init()
},LTK["projects/vodPlay/recommendLejian"] = function (e, i, t) {
    "use strict";
    var a = (e("components/util/events"), e("air/util/tpl")), n = (e("projects/vodPlay/components/util"), e("projects/vodPlay/components/swiperList")), o = {
        init: function () {
            this.initDom(), this.initEvent()
        }, initDom: function () {
            this.$container = $("#j-recommend"), this.$columnTit = this.$container.find("h2").eq(0), this.$columnTit.html(info.langPack.list), this.$containerBody = this.$container.find(".column_body"), this.$container.show(), this.$container.find(".column_box").addClass("animate1"), this.$container.removeClass("columnBg");
            var e = this;
            $.ajax({
                url: le.api_host.d_api + "/api/externalRec",
                type: "get",
                data: {id: info.lejianVid},
                dataType: "jsonp",
                success: function (i) {
                    "200" === i.code && (i.data && i.data.length >= 3 ? (e.$containerBody.html('<div class="sideslip_container sideslip" ><div class="sideslip_wrapper"></div></div>'), e.container = e.$containerBody.find(".sideslip_container"), e.screenSize = 3, e.totalSize = i.data.length, e.dataCache = i.data, e.renderData = i.data, e.contentStr = e.getContentTpl(), e.swiperList = new n, e.initLejian()) : e.$containerBody.html('<div class="no_cnt"><p class="no_p">暂无推荐内容</p></div>'))
                },
                error: function () {
                    e.$containerBody.html('<div class="no_cnt"><p>未获取到内容</p><a href="javascript:;" class="reloadSinglePage" id="j-refresh">点击重试</a></div>')
                }
            })
        }, initEvent: function () {
            this.$container.on("click", ".reloadSinglePage", $.proxy(this.reloadSinglePage, this))
        }, initLejian: function () {
            this.swiperList.init({
                cardname: "recommend",
                container: this.container,
                totalSize: this.totalSize,
                screenSize: this.screenSize,
                isLoadmore: !1,
                contentStr: this.contentStr
            })
        }, reloadSinglePage: function () {
            var e = this;
            $.ajax({
                url: le.api_host.d_api + "/api/externalRec",
                type: "get",
                data: {id: info.lejianVid},
                dataType: "jsonp",
                success: function (i) {
                    "200" === i.code && (i.data && i.data.length >= 3 ? (e.$containerBody.html('<div class="sideslip_container sideslip" ><div class="sideslip_wrapper"></div></div>'), e.container = e.$containerBody.find(".sideslip_container"), e.screenSize = 3, e.totalSize = i.data.length, e.dataCache = i.data, e.renderData = i.data, e.contentStr = e.getContentTpl(), e.swiperList = new n, e.initLejian()) : e.$containerBody.html('<div class="no_cnt"><p class="no_p">暂无推荐内容</p></div>'))
                },
                error: function () {
                    e.$containerBody.html('<div class="no_cnt"><p>未获取到内容</p><a href="javascript:;" class="reloadSinglePage" id="j-refresh">点击重试</a></div>')
                }
            })
        }, getContentTpl: function () {
            for (var e = '<a class="slide_box {curClass}" data-vid="{id}" k-name="send-stat" data-stat="{sendData}" href="javascript:;" data-href="{ljurl}"><div class="part_stat"><img src="//i3.letvimg.com/lc05_img/201603/01/15/52/playBg.png"  class="a_img"><i data-src="{img}"></i><span class="box_bor"><b></b></span><span class="icon_font icon_statePlay"></span></div><h3 class="swp_title" >{title}</h3></a>', i = "msite_lejian_jump_rec_all_all_" + info.region, t = !1, n = new a(e, function (e) {
                e.img = e.img.replace(/^http:\/\//g, "//"), e.curClass = "", e.sendData = "{acode:'0', ap:'" + i + "', vid:'" + e.id + "', pid:'-'}", e.id != info.lejianVid || t || (e.curClass = "cur", t = !0), e.ljurl = "/sv/lejian-" + e.id + ".html"
            }), o = this.renderData.length / this.screenSize, s = "", r = {}, l = 0; o > l; l++)s += '<div class="sideslip_slide">', r = this.renderData.slice(l * this.screenSize, l * this.screenSize + this.screenSize), s += n.render(r), s += "</div>";
            return s
        }
    };
    t.exports = o
},LTK["projects/vodPlay/cardLoadStrategy"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("projects/vodPlay/episode"), o = e("projects/vodPlay/zhoubian"), s = e("projects/vodPlay/period"), r = e("projects/vodPlay/periodPoint"), l = e("projects/vodPlay/liebiao"), c = e("projects/vodPlay/mainRec"), d = e("projects/vodPlay/recommend"), p = e("projects/vodPlay/daoliu"), h = e("projects/vodPlay/daoliuPay"), u = e("projects/vodPlay/comment"), f = e("projects/vodPlay/relatedMain"), m = e("projects/vodPlay/toolBox"), g = e("projects/vodPlay/intro"), v = e("projects/vodPlay/vote"), w = e("projects/vodPlay/follow"), _ = (e("projects/vodPlay/reportAd"), e("projects/vodPlay/recommendLejian")), y = e("components/sendStat/error_report"), b = {
        init: function () {
            this.initDom(), this.initEvent(), this.initCard()
        }, initDom: function () {
            this.$cards = $(".playCard"), this.scrollTimer = null, this.cardArr = [], this.getCardArr(), this.offset = 200, this.isRec = !0, info.lejianVideoType && (this.isRec = !1), this.typeFunMap = {
                introduction: {
                    request: !0,
                    callback: this.doIntroductionInit
                },
                vote: {request: !0, callback: this.doVoteInit},
                follow: {request: !0, callback: this.doFollowInit},
                episode: {request: !0, callback: this.doEpisodeInit},
                zhoubian: {request: !0, callback: this.doZhoubianInit},
                liebiao: {request: !0, callback: this.doLiebiaoInit},
                period: {request: !0, callback: this.doPeriodInit},
                periodPoint: {request: !0, callback: this.doPeriodPointInit},
                mainRec: {request: !0, callback: this.doMainRecInit},
                recommend: {request: this.isRec, callback: this.doRecommendInit},
                relatedMain: {request: !0, callback: this.doRelatedMainInit},
                leappMore: {request: !1, callback: this.doDaoliuInit},
                comment: {request: !1, callback: this.doCommentInit},
                toolbar: {request: !1, callback: this.doToolBarInit}
            }
        }, getCardArr: function () {
            var e = this.$cards;
            this.cardArr.length = 0;
            for (var i = 0; i < e.length; i++) {
                var t = e.eq(i);
                this.cardArr.push(t)
            }
        }, initEvent: function () {
            $(document).on("touchmove scroll", $.proxy(this.onScroll, this)), a.on("getDataComplete", $.proxy(this.getDataComplete, this)), a.on("ortResize", $.proxy(this.onScroll, this)), $(window).on("pageshow", function () {
                setTimeout(function () {
                    $("body").find("i[data-src]").imglazyload({isVertical: !1})
                }, 300)
            }), a.on("lejianRecommend", $.proxy(this.lejianRecommend, this)), a.on("nextVideoReady", $.proxy(this.updateCard, this))
        }, onScroll: function () {
            if (!(info.lejianVideoType && 2 == info.lejianVideoType || this.scrollTimer)) {
                var e = this;
                this.scrollTimer = window.setTimeout(function () {
                    e.doCardRequest(function () {
                        e.scrollTimer = null
                    })
                }, 500)
            }
        }, getDataComplete: function (e) {
            for (var i in e)e.hasOwnProperty(i) && this.typeFunMap[i].callback(e);
            setTimeout(function () {
                $("body").find("i[data-src]").imglazyload({isVertical: !1})
            }, 300)
        }, animateLoad: function (e) {
            for (var i = 0; i < e.length; i++)this.doAnimateLoad(e[i])
        }, doAnimateLoad: function (e) {
            var i = $("#j-" + e);
            i.find(".column_box").addClass("animate1"), i.removeClass("columnBg")
        }, initCard: function () {
            info.lejianVideoType && 1 != info.lejianVideoType || this.onScroll(), 2 == info.lejianVideoType && (m.init(), g.init("zw"))
        }, lejianRecommend: function () {
            _.init()
        }, doCardRequest: function (e) {
            var i = this, t = this.getRequestCard(), n = this.typeFunMap;
            if (0 === t.length)return void e.call(this);
            for (var o = [], s = [], r = 0; r < t.length; r++) {
                var l = t[r].attr("data-card");
                s.push(l), n[l].request ? o.push(l) : n[l].callback()
            }
            i.animateLoad(s);
            var c = window.info || {};
            if (0 === o.length)return void e.call(this);
            var d = $("#j-follow").attr("data-userid");
            $.ajax({
                url: le.api_host.d_api + "/apiplay/dynamicCard",
                type: "get",
                data: {
                    pid: c.pid,
                    vid: c.vid,
                    cid: c.ptvcid,
                    recVid: c.recVid,
                    episode: c.episode || "",
                    year: c.episode && c.episode.slice(0, 4),
                    isPositive: c.videoType && c.videoType.isPositive,
                    isColumn: c.videoType && c.videoType.isColumn,
                    type: o.join(","),
                    lang: c.lang,
                    region: c.region,
                    followid: d
                },
                dataType: "jsonp",
                success: function (e) {
                    if ("200" === e.code) {
                        var i = e.data;
                        a.emit("getDataComplete", i), a.emit("cardLoadComplete", o.length)
                    }
                },
                error: function () {
                    $("#j-introduction").remove(), $("#j-episode").remove(), $("#j-recommend").remove(), $("#j-zhoubian").remove(), $("#j-liebiao").remove(), $("#j-relatedMain").remove(), $("#j-periodPoint").remove(), $("#j-period").remove(), $("#j-mainRec").remove(), $("#j-vote").remove(), $("#j-follow").remove(), $("#j-leappMore").css({"margin-bottom": "2rem"}), c.lejianVideoType && $("#j-Banner-1").show(), y.send({
                        bline: "play_dynamicCard",
                        scode: o.join("_")
                    })
                }
            }), e.call(i)
        }, updateCard: function () {
            this.doDaoliuInit()
        }, doDaoliuInit: function () {
            info.is_pay ? h.init() : p.init()
        }, doIntroductionInit: function (e) {
            g.init(e.introduction)
        }, doVoteInit: function (e) {
            v.init(e.vote)
        }, doFollowInit: function (e) {
            w.init(e.follow)
        }, doToolBarInit: function () {
            m.init()
        }, doEpisodeInit: function (e) {
            var i = e.episode, t = {currentPage: i.current_page, totalSize: i.cnt, pageSize: i.page_size, data: i.list};
            n.init(t)
        }, doZhoubianInit: function (e) {
            var i = e.zhoubian, t = {totalSize: i.length, pageSize: 4, data: i};
            o.init(t)
        }, doLiebiaoInit: function (e) {
            var i = e.liebiao, t = {currentPage: i.current_page, totalSize: i.cnt, pageSize: i.page_size, data: i.list};
            l.init(t)
        }, doPeriodInit: function (e) {
            var i = e.period, t = {currentYear: i.currentYear, years: i.years, data: i.list};
            s.init(t)
        }, doMainRecInit: function (e) {
            var i = e.mainRec, t = {data: i};
            c.init(t)
        }, doRelatedMainInit: function (e) {
            var i = e.relatedMain;
            f.init(i)
        }, doPeriodPointInit: function (e) {
            var i = e.periodPoint, t = {totalSize: i.length, data: i};
            r.init(t)
        }, doRecommendInit: function (e) {
            if (!info.lejianVideoType) {
                var i = e.recommend;
                d.init(i)
            }
        }, doCommentInit: function () {
            u.init()
        }, getRequestCard: function () {
            var e = [], i = $(window).height(), t = $("body").scrollTop() || $(window).scrollTop(), a = this.offset, n = t + i + a, o = this.cardArr, s = o.length, r = [];
            0 === s && $(document).off("touchmove scroll", $.proxy(this.onScroll, this));
            for (var l = 0; s > l; l++) {
                var c = o[l], d = t - c.height() - a;
                c.offset().top >= d && c.offset().top <= n && (e.push(c), r.push(l))
            }
            return r.length > 0 && o.splice(r[0], r.length), e
        }
    };
    t.exports = b
},LTK["projects/vodPlay/playAjax"] = function (e, i, t) {
    var a = e("components/util/events"), n = e("air/util/Url"), o = e("air/env/ua");
    a.on("playVideoNoRefresh", function (e) {
        s.init(e)
    });
    var s = {
        data: {}, isClicking: !1, sendTimer: null, init: function (e) {
            this.obj = e, this.initDom(), this.initEvent(), this.backUrl = e.url || "", o.weixin && this.location(e.vid) || this.send(e)
        }, initDom: function () {
            this._win = $(window)
        }, initEvent: function () {
            this._win.off("popstate").on("popstate", _.bind(this.hisPop, this))
        }, send: function (e) {
            var i = this;
            this.isClicking || (this.data.num = 1, this.data.vid = e.vid || "", this.data.zid = e.zid || "", this.data.pkgid = e.pkgid || "", window.info.site && (this.data.site = info.site), window.info.zid && (this.data.action = "zplay"), this.data.getCurrent = 1, this.isClicking = !0, this.data.lang = info.lang, this.data.region = info.region, this.data.geo = info.geo, url = e.from && "kandian" == e.from ? le.api_host.d_api + "/apiplay/nextVideo" : le.api_host.d_api + "/apiplay/pageInfo", url = url + "?" + $.param(this.data), Deferred.jsonp(url).next(_.bind(i.success, i)))
        }, success: function (e) {
            e.data instanceof Array && !e.data.length && this.location(this.obj.vid) || e.data instanceof Array && parseInt(e.data[0].vid) !== parseInt(this.data.vid) || ($.extend(window.info, e.data[0]), this.formatInfo(), this.play(), this.isClicking = !1, window.scrollTo(0, 0))
        }, formatInfo: function () {
            if (window.info && window.info.share && window.info.share.url) {
                var e = window.info.share.url;
                window.info.share.url = e.replace("m.letv.com", le.api_host.host)
            }
        }, location: function (e) {
            if (this.backUrl)return window.location.href = this.backUrl, !0;
            var i = location.href;
            if (/\/vplay_(\d+)\.html/.test(i)) {
                var t = i.replace(/vplay_\d+/gi, "vplay_" + e);
                return t.indexOf("htime") > 0 && (t = t.indexOf("?") > 0 ? t.replace(/\?htime=[^&]*/, "?htime=0") : t.replace(/&htime=[^&]*/, "&htime=0")), location.href = t, !0
            }
            return !1
        }, play: function () {
            a.emit("playId", window.info.vid, {appGuideTime: window.info.appGuideTime}), "period" == this.obj.from && a.emit("periodPointForPeriod"), a.emit("nextVideoReady"), a.emit("playNewVideo", {from: this.obj.from || ""}), document.title = window.info.title || document.title, this.hisPush()
        }, hisPush: function () {
            var e = n.getParam();
            if (e.htime && delete e.htime, info && info.site && (e.site = info.site), !e.ref && info && info.ref && (e.ref = info.ref), e.from = "ajax", info && "zplay" == info.action) {
                var i = info.currentUrl ? n.setParam(info.currentUrl, e) : location.href;
                return void window.history.pushState(info, null, i)
            }
            var t = info.nextUrl || "/vplay_20739654.html", i = n.setParam(t.replace(/vplay_\d+/gi, "vplay_" + info.vid), e);
            window.history.pushState(info, null, i)
        }, hisPop: function (e) {
            return location.href.indexOf("from=ajax") < 0 && location.reload(), e.state ? ($.extend(window.info, e.state), a.emit("playId", window.info.vid), "period" == this.obj.from && a.emit("periodPointForPeriod"), a.emit("nextVideoReady"), void(document.title = title = info.title || document.title)) : void window.history.replaceState(info, document.title, location.href)
        }
    };
    t.exports = s
},LTK["projects/vodPlay/autoplay"] = function (e) {
    var i = e("air/util/Url"), t = e("components/util/events"), a = e("air/array/each"), n = e("air/env/ua"), o = e("components/util/mUa"), s = e("components/app/callApp");
    t.on("playNewVideo", function (e) {
        r.from = e.from, r.destroyTip()
    }), t.on("playerVideoComplete", function () {
        info.lejianVideoType || r.init()
    });
    var r = {
        nextTime: 0, data: {}, appPlay: !1, catchList: [], init: function () {
            this.win = $(window), "11" == info.ptvcid && info.videoType.isPart && info.videoType.isHasPositive && (this.from = "kandian"), "11" == info.ptvcid && info.videoType.isPositive && (this.from = "period"), this.win.off("popstate").on("popstate", _.bind(this.hisPop, this)), this.next()
        }, next: function () {
            var e = this;
            if (1 == ++this.nextTime && window.nextvid)return t.emit("setFullScreen", !1), void this.createTip();
            if (this.appPlay)return void this.play();
            if (this.continuePlay && window.nextvid) {
                if (window.__canControlPlayer = !0, this.destroyTip(), !this.catchList.length)return void this.send();
                this.play()
            }
            "kandian" == this.from && !window.nextvid && window.nextPeriodvid ? (Stats.sendAction({
                acode: "0",
                ap: "msite_play_continuousPlay_click"
            }), setTimeout(function () {
                e.location(window.nextPeriodvid)
            }, 1e3)) : $.ajax({
                url: le.api_host.d_api + "/recation/rec",
                dataType: "jsonp",
                type: "get",
                data: {vid: window.info.vid, num: 1, lang: info.lang, region: info.region},
                success: function (i) {
                    "200" === i.code && i.data && i.data.data && i.data.data[0] && i.data.data[0].vid && (Stats.sendAction({
                        acode: "0",
                        ap: "msite_play_continuousPlay_click"
                    }), setTimeout(function () {
                        e.location(i.data.data[0].vid)
                    }, 1e3))
                }
            })
        }, createTip: function () {
            __playerOpenApp = window.__playerOpenApp || {}, __playerOpenApp.playEnd = __playerOpenApp.playEnd || {};
            var e = __playerOpenApp.playEnd.pic || "//i1.letvimg.com/lc06_img/201604/12/14/59/pay_bg.jpg", i = "";
            o.isApp() || (i = '<a id="j-openApp" href="javascript:void(0);">' + info.langPack.watch_app + "</a>");
            var t = ['<div id="app-tips" class="app-tips">', '<img src="' + e + '">', '<div class="tips-btn"><a id="j-continuePlay" href="javascript:void(0);" title="">' + info.langPack.watch_c + "</a>" + i + "</div>", "</div>"].join("");
            $("#j-player").css("display", "none").after(t), this.continueBtn = $("#j-continuePlay"), this.openAppBtn = $("#j-openApp"), window.__canControlPlayer = !1, Stats.sendAction({
                acode: "41",
                ap: info.shareAgent ? "fl=di&dp=msite_player_weixin_videoover_exposure" : "fl=di&dp=msite_player_videoover_exposure"
            }), this.bindEvent()
        }, bindEvent: function () {
            var e = this;
            this.continueBtn.on("click", function (i) {
                i.stopPropagation(), Stats.sendAction({ap: info.shareAgent ? "fl=di&dp=msite_player_weixin_videoovernext_click" : "fl=di&dp=msite_player_videoovernext_click"}), e.continuePlay = !0, e.next()
            }), this.openAppBtn.on("click", function (i) {
                i.stopPropagation(), Stats.sendAction({ap: info.shareAgent ? "fl=di&dp=msite_player_weixin_videoover_click" : "fl=di&dp=msite_player_videoover_click"}), e.appPlay = !0, e.next()
            })
        }, destroyTip: function () {
            var e = $("#app-tips");
            e.length && (e.remove(), $("#j-player").css("display", ""))
        }, send: function () {
            this.data.vid = window.nextvid, this.data.getCurrent = 1, info && "zplay" == info.action && (this.data.action = info.action || "", this.data.zid = info.zid || "", this.data.pkgid = info.pkgid || ""), info.site && (this.data.site = info.site), this.data.lang = info.lang, this.data.region = info.region, this.data.geo = info.geo, url = le.api_host.d_api + "/apiplay/pageInfo", url = url + "?" + $.param(this.data), Deferred.jsonp(url).next(_.bind(this.success, this))
        }, success: function (e) {
            var i = this.catchList;
            a(e.data, function (e, t) {
                i.push(t)
            }), this.play()
        }, play: function () {
            var e = n.letvMobile ? "lingxian" : n.android ? "android" : "ios", i = Stats && Stats.BR ? Stats.BR : "letv", a = "ending";
            if (this.appPlay || (this.data = this.catchList.length ? this.catchList.shift() : this.appPlay ? this.data : null, $.extend(window.info, this.data), this.formatInfo()), !this.data)return void this.destroyTip();
            if (this.appPlay)this.appPlay = !1, s.call({
                daoliuConfig: {
                    vid: window.info.vid,
                    type: "play",
                    from: "m_" + e + "_" + i + "_" + a,
                    url: __playerOpenApp.playEnd.url || "",
                    wxUrl: __playerOpenApp.playEnd.wxUrl || "",
                    thirdApp: __playerOpenApp.playEnd.thirdApp || {}
                }
            }); else {
                if (n.weixin && this.location(this.data.vid))return;
                t.emit("playId", this.data.vid, {appGuideTime: this.data.appGuideTime}), "period" == this.from && t.emit("periodPointForPeriod"), t.emit("nextVideoReady"), document.title = window.info.title || document.title, this.hisPush()
            }
        }, formatInfo: function () {
            if (window.info && window.info.share && window.info.share.url) {
                var e = window.info.share.url;
                window.info.share.url = e.replace("m.letv.com", le.api_host.host)
            }
        }, location: function (e) {
            var i = location.href;
            if (/\/vplay_(\d+)\.html/.test(i)) {
                var t = i.replace(/vplay_\d+/gi, "vplay_" + e);
                return t.indexOf("htime") > 0 && (t = t.indexOf("?") > 0 ? t.replace(/\?htime=[^&]*/, "?htime=0") : t.replace(/&htime=[^&]*/, "&htime=0")), location.href = t, !0
            }
            return !1
        }, hisPush: function () {
            var e = i.getParam();
            if (e.htime && delete e.htime, info && info.site && (e.site = info.site), !e.ref && info && info.ref && (e.ref = info.ref), e.from = "ajax", info && "zplay" == info.action) {
                var t = info.currentUrl ? i.setParam(info.currentUrl, e) : location.href;
                return void window.history.pushState(info, null, t)
            }
            info.nextUrl = info.nextUrl || "/vplay_20739654.html";
            var t = i.setParam(info.nextUrl.replace(/vplay_\d+/gi, "vplay_" + info.vid), e);
            window.history.pushState(info, null, t)
        }, hisPop: function (e) {
            return e.state ? ($.extend(window.info, e.state), t.emit("playId", window.info.vid), "period" == this.from && t.emit("periodPointForPeriod"), t.emit("nextVideoReady"), void(document.title = title = info.title || document.title)) : void window.history.replaceState(info, document.title, location.href)
        }
    }
},LTK.storage = function (e, i, t) {
    var a, n = Object.toJSON || window.JSON && (JSON.encode || JSON.stringify), o = window.JSON && (JSON.decode || JSON.parse) || function (e) {
            return String(e).evalJSON()
        };
    try {
        "localStorage" in window ? a = window.localStorage || {} : "globalStorage" in window && (a = window.globalStorage[window.location.hostname])
    } catch (s) {
    }
    var r = function (e, i) {
        try {
            a.removeItem(e);
            var t = n(i);
            a.setItem(e, t)
        } catch (o) {
            a[e] = n(i)
        }
    }, l = function (e, i) {
        if (e in a)try {
            return o(a.getItem(e))
        } catch (t) {
            return o(a[e])
        }
        return "undefined" == typeof i ? null : i
    };
    t.exports = {set: r, get: l}
},!function (e, i) {
    "object" == typeof exports && "object" == typeof module ? module.exports = i() : "function" == typeof define && define.amd ? define([], i) : "object" == typeof exports ? exports.danma = i() : (e.LemSdk = e.LemSdk || {}, e.LemSdk.danma = i())
}(this, function () {
    return function (e) {
        function i(a) {
            if (t[a])return t[a].exports;
            var n = t[a] = {exports: {}, id: a, loaded: !1};
            return e[a].call(n.exports, n, n.exports, i), n.loaded = !0, n.exports
        }

        var t = {};
        return i.m = e, i.c = t, i.p = "", i(0)
    }([function (e, i, t) {
        var a;
        a = function (e, i, a) {
            "use strict";
            var n = t(1), o = t(5), s = t(2), r = window.LeBrowserJsBridge || {};
            r.callback = n.callback, r.fireEvent = n.fire, window.LeBrowserJsBridge = r;
            var l = {name: "danma", version: "0.2.3"}, c = function () {
                var e = t(9);
                s.copy(e, l)
            }, d = function () {
                arguments.length > 0 ? o.check(arguments[0].key) && c() : c()
            };
            window.LemSdk && LemSdk.access ? d() : l.config = d, window.LemSdk && (LemSdk.config = o.config), a.exports = l
        }.call(i, t, i, e), !(void 0 !== a && (e.exports = a))
    }, function (e, i, t) {
        var a;
        a = function (e, i, a) {
            "use strict";
            var n = t(7), o = function (e, i) {
                "function" == typeof i && (n[e] = i)
            }, s = function () {
                var e = Array.prototype.slice.call(arguments), i = e[0];
                e = e.slice(1);
                var t = n[i];
                try {
                    console.log("java2js:" + e), t && t.apply(null, e)
                } catch (a) {
                }
            }, r = function (e, i) {
                var t = n[e];
                i = i || "{}";
                try {
                    i = JSON.parse(i)
                } catch (a) {
                }
                t && t(i), delete n[e];
                var o = document.getElementById(e);
                o && o.parentNode.removeChild(o)
            };
            a.exports = {fire: s, on: o, callback: r}
        }.call(i, t, i, e), !(void 0 !== a && (e.exports = a))
    }, function (e, i, t) {
        var a;
        a = function (e, i, t) {
            "use strict";
            var a = function (e, i) {
                for (var t in e)e.hasOwnProperty(t) && (i[t] = e[t])
            };
            t.exports = {copy: a}
        }.call(i, t, i, e), !(void 0 !== a && (e.exports = a))
    }, function (e, i, t) {
        var a;
        a = function (e, i, t) {
            var a = {
                _keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                encode: function (e) {
                    var i, t, n, o, s, r, l, c = "", d = 0;
                    for (e = a._utf8_encode(e); d < e.length;)i = e.charCodeAt(d++), t = e.charCodeAt(d++), n = e.charCodeAt(d++), o = i >> 2, s = (3 & i) << 4 | t >> 4, r = (15 & t) << 2 | n >> 6, l = 63 & n, isNaN(t) ? r = l = 64 : isNaN(n) && (l = 64), c = c + this._keyStr.charAt(o) + this._keyStr.charAt(s) + this._keyStr.charAt(r) + this._keyStr.charAt(l);
                    return c
                },
                decode: function (e) {
                    var i, t, n, o, s, r, l, c = "", d = 0;
                    for (e = e.replace(/[^A-Za-z0-9\+\/\=]/g, ""); d < e.length;)o = this._keyStr.indexOf(e.charAt(d++)), s = this._keyStr.indexOf(e.charAt(d++)), r = this._keyStr.indexOf(e.charAt(d++)), l = this._keyStr.indexOf(e.charAt(d++)), i = o << 2 | s >> 4, t = (15 & s) << 4 | r >> 2, n = (3 & r) << 6 | l, c += String.fromCharCode(i), 64 != r && (c += String.fromCharCode(t)), 64 != l && (c += String.fromCharCode(n));
                    return c = a._utf8_decode(c)
                },
                _utf8_encode: function (e) {
                    e = e.replace(/\r\n/g, "\n");
                    for (var i = "", t = 0; t < e.length; t++) {
                        var a = e.charCodeAt(t);
                        128 > a ? i += String.fromCharCode(a) : a > 127 && 2048 > a ? (i += String.fromCharCode(a >> 6 | 192), i += String.fromCharCode(63 & a | 128)) : (i += String.fromCharCode(a >> 12 | 224), i += String.fromCharCode(a >> 6 & 63 | 128), i += String.fromCharCode(63 & a | 128))
                    }
                    return i
                },
                _utf8_decode: function (e) {
                    for (var i = "", t = 0, a = c1 = c2 = 0; t < e.length;)a = e.charCodeAt(t), 128 > a ? (i += String.fromCharCode(a), t++) : a > 191 && 224 > a ? (c2 = e.charCodeAt(t + 1), i += String.fromCharCode((31 & a) << 6 | 63 & c2), t += 2) : (c2 = e.charCodeAt(t + 1), c3 = e.charCodeAt(t + 2), i += String.fromCharCode((15 & a) << 12 | (63 & c2) << 6 | 63 & c3), t += 3);
                    return i
                }
            };
            t.exports = a
        }.call(i, t, i, e), !(void 0 !== a && (e.exports = a))
    }, function (e, i, t) {
        var a;
        a = function (e, i, a) {
            function n(e, i) {
                var i = i ? i : "", t = 4;
                i = l(i);
                var a = l(i.substr(0, 16)), n = l(i.substr(16, 16));
                if (t)var d = e.substr(0, t); else var d = "";
                var p, h = a + l(a + d);
                e = e.substr(t), p = c.decode(e);
                for (var u = new Array(256), f = 0; 256 > f; f++)u[f] = f;
                for (var m = new Array, f = 0; 256 > f; f++)m[f] = h.charCodeAt(f % h.length);
                for (var g = f = 0; 256 > f; f++)g = (g + u[f] + m[f]) % 256, tmp = u[f], u[f] = u[g], u[g] = tmp;
                var v = "";
                p = p.split("");
                for (var w = g = f = 0; f < p.length; f++)w = (w + 1) % 256, g = (g + u[w]) % 256, tmp = u[w], u[w] = u[g], u[g] = tmp, v += s(r(p[f]) ^ u[(u[w] + u[g]) % 256]);
                return v = (0 == v.substr(0, 10) || v.substr(0, 10) - o() > 0) && v.substr(10, 16) == l(v.substr(26) + n).substr(0, 16) ? v.substr(26) : ""
            }

            function o() {
                var e = (new Date).getTime();
                return parseInt(e / 1e3)
            }

            function s(e) {
                return String.fromCharCode(e)
            }

            function r(e) {
                return e.charCodeAt()
            }

            var l = t(6), c = t(3);
            a.exports = n
        }.call(i, t, i, e), !(void 0 !== a && (e.exports = a))
    }, function (e, i, t) {
        var a;
        a = function (e, i, a) {
            var n = t(4), o = function (e) {
                var i = "iWFeNzVA7669bOni|mOC2O3sJMQbwIwOL|gJ8DbpRG4ecetQF2|hLTnSUxZixla3j0n|Y8yEqn61vi84cQsd", t = i.split("|");
                return 16 == e.length ? t.indexOf(e) > -1 : "le" === n(e, "m")
            }, s = function (e) {
                if (o(e.key)) {
                    LemSdk.access = !0;
                    for (var i in LemSdk)"function" == typeof LemSdk[i].config && (LemSdk[i].config(), delete LemSdk[i].config);
                    setTimeout(function () {
                        "function" == typeof LemSdk.onReady && LemSdk.onReady()
                    }, 1)
                }
            };
            a.exports = {config: s, check: o}
        }.call(i, t, i, e), !(void 0 !== a && (e.exports = a))
    }, function (e, i, t) {
        var a;
        a = function (e, i, t) {
            function a(e, i) {
                var t = (65535 & e) + (65535 & i), a = (e >> 16) + (i >> 16) + (t >> 16);
                return a << 16 | 65535 & t
            }

            function n(e, i) {
                return e << i | e >>> 32 - i
            }

            function o(e, i, t, o, s, r) {
                return a(n(a(a(i, e), a(o, r)), s), t)
            }

            function s(e, i, t, a, n, s, r) {
                return o(i & t | ~i & a, e, i, n, s, r)
            }

            function r(e, i, t, a, n, s, r) {
                return o(i & a | t & ~a, e, i, n, s, r)
            }

            function l(e, i, t, a, n, s, r) {
                return o(i ^ t ^ a, e, i, n, s, r)
            }

            function c(e, i, t, a, n, s, r) {
                return o(t ^ (i | ~a), e, i, n, s, r)
            }

            function d(e, i) {
                e[i >> 5] |= 128 << i % 32, e[(i + 64 >>> 9 << 4) + 14] = i;
                var t, n, o, d, p, h = 1732584193, u = -271733879, f = -1732584194, m = 271733878;
                for (t = 0; t < e.length; t += 16)n = h, o = u, d = f, p = m, h = s(h, u, f, m, e[t], 7, -680876936), m = s(m, h, u, f, e[t + 1], 12, -389564586), f = s(f, m, h, u, e[t + 2], 17, 606105819), u = s(u, f, m, h, e[t + 3], 22, -1044525330), h = s(h, u, f, m, e[t + 4], 7, -176418897), m = s(m, h, u, f, e[t + 5], 12, 1200080426), f = s(f, m, h, u, e[t + 6], 17, -1473231341), u = s(u, f, m, h, e[t + 7], 22, -45705983), h = s(h, u, f, m, e[t + 8], 7, 1770035416), m = s(m, h, u, f, e[t + 9], 12, -1958414417), f = s(f, m, h, u, e[t + 10], 17, -42063), u = s(u, f, m, h, e[t + 11], 22, -1990404162), h = s(h, u, f, m, e[t + 12], 7, 1804603682), m = s(m, h, u, f, e[t + 13], 12, -40341101), f = s(f, m, h, u, e[t + 14], 17, -1502002290), u = s(u, f, m, h, e[t + 15], 22, 1236535329), h = r(h, u, f, m, e[t + 1], 5, -165796510), m = r(m, h, u, f, e[t + 6], 9, -1069501632), f = r(f, m, h, u, e[t + 11], 14, 643717713), u = r(u, f, m, h, e[t], 20, -373897302), h = r(h, u, f, m, e[t + 5], 5, -701558691), m = r(m, h, u, f, e[t + 10], 9, 38016083), f = r(f, m, h, u, e[t + 15], 14, -660478335), u = r(u, f, m, h, e[t + 4], 20, -405537848), h = r(h, u, f, m, e[t + 9], 5, 568446438), m = r(m, h, u, f, e[t + 14], 9, -1019803690), f = r(f, m, h, u, e[t + 3], 14, -187363961), u = r(u, f, m, h, e[t + 8], 20, 1163531501), h = r(h, u, f, m, e[t + 13], 5, -1444681467), m = r(m, h, u, f, e[t + 2], 9, -51403784), f = r(f, m, h, u, e[t + 7], 14, 1735328473), u = r(u, f, m, h, e[t + 12], 20, -1926607734), h = l(h, u, f, m, e[t + 5], 4, -378558), m = l(m, h, u, f, e[t + 8], 11, -2022574463), f = l(f, m, h, u, e[t + 11], 16, 1839030562), u = l(u, f, m, h, e[t + 14], 23, -35309556), h = l(h, u, f, m, e[t + 1], 4, -1530992060), m = l(m, h, u, f, e[t + 4], 11, 1272893353), f = l(f, m, h, u, e[t + 7], 16, -155497632), u = l(u, f, m, h, e[t + 10], 23, -1094730640), h = l(h, u, f, m, e[t + 13], 4, 681279174), m = l(m, h, u, f, e[t], 11, -358537222), f = l(f, m, h, u, e[t + 3], 16, -722521979), u = l(u, f, m, h, e[t + 6], 23, 76029189), h = l(h, u, f, m, e[t + 9], 4, -640364487), m = l(m, h, u, f, e[t + 12], 11, -421815835), f = l(f, m, h, u, e[t + 15], 16, 530742520), u = l(u, f, m, h, e[t + 2], 23, -995338651), h = c(h, u, f, m, e[t], 6, -198630844), m = c(m, h, u, f, e[t + 7], 10, 1126891415), f = c(f, m, h, u, e[t + 14], 15, -1416354905), u = c(u, f, m, h, e[t + 5], 21, -57434055), h = c(h, u, f, m, e[t + 12], 6, 1700485571), m = c(m, h, u, f, e[t + 3], 10, -1894986606), f = c(f, m, h, u, e[t + 10], 15, -1051523), u = c(u, f, m, h, e[t + 1], 21, -2054922799), h = c(h, u, f, m, e[t + 8], 6, 1873313359), m = c(m, h, u, f, e[t + 15], 10, -30611744), f = c(f, m, h, u, e[t + 6], 15, -1560198380), u = c(u, f, m, h, e[t + 13], 21, 1309151649), h = c(h, u, f, m, e[t + 4], 6, -145523070), m = c(m, h, u, f, e[t + 11], 10, -1120210379), f = c(f, m, h, u, e[t + 2], 15, 718787259), u = c(u, f, m, h, e[t + 9], 21, -343485551), h = a(h, n), u = a(u, o), f = a(f, d), m = a(m, p);
                return [h, u, f, m]
            }

            function p(e) {
                var i, t = "";
                for (i = 0; i < 32 * e.length; i += 8)t += String.fromCharCode(e[i >> 5] >>> i % 32 & 255);
                return t
            }

            function h(e) {
                var i, t = [];
                for (t[(e.length >> 2) - 1] = void 0, i = 0; i < t.length; i += 1)t[i] = 0;
                for (i = 0; i < 8 * e.length; i += 8)t[i >> 5] |= (255 & e.charCodeAt(i / 8)) << i % 32;
                return t
            }

            function u(e) {
                return p(d(h(e), 8 * e.length))
            }

            function f(e, i) {
                var t, a, n = h(e), o = [], s = [];
                for (o[15] = s[15] = void 0, n.length > 16 && (n = d(n, 8 * e.length)), t = 0; 16 > t; t += 1)o[t] = 909522486 ^ n[t], s[t] = 1549556828 ^ n[t];
                return a = d(o.concat(h(i)), 512 + 8 * i.length), p(d(s.concat(a), 640))
            }

            function m(e) {
                var i, t, a = "0123456789abcdef", n = "";
                for (t = 0; t < e.length; t += 1)i = e.charCodeAt(t), n += a.charAt(i >>> 4 & 15) + a.charAt(15 & i);
                return n
            }

            function g(e) {
                return unescape(encodeURIComponent(e))
            }

            function v(e) {
                return u(g(e))
            }

            function w(e) {
                return m(v(e))
            }

            function _(e, i) {
                return f(g(e), g(i))
            }

            function y(e, i) {
                return m(_(e, i))
            }

            function b(e, i, t) {
                return i ? t ? _(i, e) : y(i, e) : t ? v(e) : w(e)
            }

            t.exports = b
        }.call(i, t, i, e), !(void 0 !== a && (e.exports = a))
    }, function (e, i, t) {
        var a;
        a = function (e, i, t) {
            "use strict";
            var a = {};
            t.exports = {listeners: a}
        }.call(i, t, i, e), !(void 0 !== a && (e.exports = a))
    }, function (e, i, t) {
        var a;
        a = function (e, i, t) {
            "use strict";
            var a = {}, n = function (e) {
                a[e] = function () {
                    try {
                        var i = Array.prototype.slice.call(arguments).map(function (e) {
                            return "boolean" == typeof e ? e : JSON.stringify(e)
                        });
                        window.DanmakuJsBridge && window.DanmakuJsBridge[e] && (console.log("js2java:" + i), window.DanmakuJsBridge[e].apply(window.DanmakuJsBridge, i))
                    } catch (t) {
                        console.log("error:" + t)
                    }
                }
            };
            t.exports = {danmu: a, registerFunc: n}
        }.call(i, t, i, e), !(void 0 !== a && (e.exports = a))
    }, function (e, i, t) {
        var a;
        a = function (e, i, a) {
            "use strict";
            function n(e, i) {
                return function (t) {
                    var a = {};
                    if (200 == t.code && t.data && 0 !== t.data.list.length) {
                        var n = t.data.list.map(function (e, i) {
                            return {
                                id: e._id,
                                content: e.txt,
                                font: e.font,
                                position: e.position,
                                color: e.color,
                                vip: e.vip,
                                uid: e.uid,
                                playTime: e.start,
                                type: e.type
                            }
                        });
                        a.start = window["params" + e + "start"], a.vid = window["params" + e + "vid"], a.info = "success", a.statusCode = 200, a.status = "success", a.data = {danmu: n}, i ? i(a) : d.danmu.setDanmuData(window["params" + e + "tokenId"], a)
                    } else a.info = "datasource error:" + error, a.statusCode = 900, a.status = "error", i ? i(a) : d.danmu.setDanmuData(window["params" + e + "tokenId"], a)
                }
            }

            var o = t(1), s = t(2), r = "https://cdn-api-my.le.com/danmu/list?", l = "http://cdn.api.my.le.com/danmu/list?", c = "http:" === window.location.protocol, d = t(8), p = {};
            s.copy(o, p), d.registerFunc("onGetInfo"), p.initDanmaInfo = function (e) {
                d.danmu.onGetInfo(e)
            }, d.registerFunc("onSetEnable"), p.setPlayerSwitch = function (e) {
                d.danmu.onSetEnable(e)
            }, p.on("setEnable", function (e) {
                p.setPlayerSwitch(e)
            }), d.registerFunc("setDanmuData"), d.registerFunc("getDanmuData"), p.getDanmuData = function (e, i, t) {
                var a = Array.prototype.slice.call(arguments);
                2 === a.length && a.splice(0, 0, 1);
                var i = a[1], e = a[0], t = a[2], o = i.vid, s = i.pid, p = i.cid, h = i.amount || 500, u = 8, f = i.start, m = (new Date).getTime();
                if (window["callbackFunc" + m] = n(m, t), window["params" + m + "start"] = f, window["params" + m + "vid"] = o, window["params" + m + "tokenId"] = e, !o || !s || !p || !f && 0 !== f)return result.info = "params deficiency", result.statusCode = 800, result.status = "error", void(t ? t(result) : d.danmu.setDanmuData(result));
                var g = c ? l : r, v = g + "vid=" + o + "&pid=" + s + "&cid=" + p + "&start=" + f + "&amount=" + h + "&from=" + u + "&callback=callbackFunc" + m, w = document.createElement("script");
                w.setAttribute("src", v), document.getElementsByTagName("head")[0].appendChild(w)
            }, p.on("getDanmuData", function (e, i) {
                p.getDanmuData(e, i, void 0)
            }), a.exports = p
        }.call(i, t, i, e), !(void 0 !== a && (e.exports = a))
    }])
}),LTK["projects/vodPlay/danmu"] = function (e, i, t) {
    var a = e("components/util/events"), n = e("air/array/each"), o = e("air/ui/tips"), s = e("air/env/ua"), r = e("air/array/unique"), l = s.weibo || s.weixin && !s.src.match(/MQQBrowser/i) || s.chrome || s.ios, c = e("storage"), d = 1 === parseInt(c.get("isdanmuclosed")) ? !0 : !1;
    LemSdk.config({key: "iWFeNzVA7669bOni", debug: !1}), window.setEnable = function (e) {
        p && p.setBtnStatus(e)
    }, a.on("playerStartPlay", function () {
        LemSdk && LemSdk.danma && LemSdk.danma.initDanmaInfo && LemSdk.danma.initDanmaInfo({
            vid: window.info.vid,
            pid: window.info.pid,
            cid: window.info.cid,
            isSupport: window.info.isDanmaku ? !0 : !1,
            isOpen: !d
        }), setTimeout(function () {
            p.isPlaying = !0, window.info.isDanmaku && (!l && !p.isLandscape || l) && (p.init(), p.startRender())
        }, 600)
    }), a.on("playerVideoResume", function () {
        p.isPlaying = !0, p.startRender({type: "resume"})
    }), a.on("playerVideoPause", function () {
        p.isPlaying = !1, p.stopRender()
    }), a.on("displayTrylook", function () {
        p.isPlaying = !1, p.stopRender()
    }), a.on("appGuideEnd", function () {
        p.isPlaying = !1, p.stopRender()
    }), a.on("getRealCountReady", function (e) {
        p.isGetCount = !0, p.brgCount = e.vdm_count
    }), a.on("nextVideoReady", function () {
        p.inited ? (p.resetFun(), window.info.isDanmaku ? setTimeout(function () {
            p.startRender()
        }, 800) : p.controlHide()) : window.info.isDanmaku && (p.init(), p.startRender())
    }), a.on("startBarrage", function (e) {
        window.info.isDanmaku && (e && e.from && "portrait" == e.from && (p.isLandscape = !1, l && p.setBrgPosition()), p.inited ? (e && e.from && "cmtBlur" == e.from && (p.cmtIsFocus = !1), !p.timer && p.startRender()) : p.isPlaying && (p.init(), p.startRender()))
    }), a.on("stopBarrage", function () {
        p.stopRender()
    }), a.on("removeBarrage", function (e) {
        window.info.isDanmaku && (!l && p.removeBrgs(), e && e.from && ("cmtFocus" == e.from && (p.cmtIsFocus = !0), "landscape" == e.from && (p.isLandscape = !0), "falseFullScreen" == e.from && (p.isFlaseFullScreen = !0), "portrait" == e.from && (p.isLandscape = !1)), p.isPlaying && (l ? p.inited ? p.isFlaseFullScreen || setTimeout(function () {
            p.setBrgPosition(), p.startRender()
        }, 100) : (p.init(), p.startRender()) : p.isLandscape || (p.inited ? p.startRender() : (p.init(), p.startRender()))))
    });
    var p = {
        config: {
            listUrl: le.api_host.cdn_api_my + "/danmu/list/",
            countUrl: le.api_host.v_stat + "/vplay/queryMmsTotalPCount",
            count: 1e3,
            start: 300,
            maxLen: 4,
            num: 120,
            speed: 6,
            minSpeed: 4,
            threshold: 25,
            bottoms: [3, 6, 9, 0],
            lineHeight: 2
        },
        init: function () {
            this.inited || (this.inited = !0, this.initDom(), this.initEvent(), this.getList())
        },
        brgArr: [],
        startArr: [],
        brgObj: {},
        brgCount: 0,
        timer: null,
        locked: !1,
        time: 0,
        lastPlayTime: 0,
        isOpen: !d,
        isDataOk: !1,
        isPlaying: !1,
        isFirstRender: !0,
        isFirstAjax: !0,
        canGetTime: !0,
        renderBrgNum: 0,
        getPlayerTime: function (e) {
            var i = this;
            a.emit("getPlayerTime", function (t) {
                if ("unknown" !== t.curTime && parseInt(t.curTime) == parseInt(this.curTime))return void(this.isPlaying = !1);
                if (this.curTime = t.curTime, !l && t.fullState)return void i.stopRender();
                if (i.isDataOk)if (!l && i.isFirstRender)i.getFirstBrg(); else {
                    if ("unknown" == t.curTime)return i.canGetTime = !1, void i.startAutoRender();
                    if (Math.abs(t.curTime - i.lastPlayTime) >= 270) {
                        var a = Math.floor(t.curTime / i.config.start);
                        a = _.contains(i.startArr, a) ? a + 1 : a, i.getList(a), i.lastPlayTime = i.config.start * a
                    } else if (e && "resume" == e.type) {
                        var a = Math.floor(t.curTime / i.config.start);
                        _.contains(i.startArr, a) || (i.getList(a), i.lastPlayTime = i.config.start * a)
                    }
                    i.renderBarrage(t.curTime)
                }
            }), this.canGetTime && this.isOpen && this.isPlaying && !this.timer && (this.timer = setInterval(_.bind(arguments.callee, this), 1e3))
        },
        initDom: function () {
            this.win = $(window), this.body = $("body"), this.playerBox = $(".play").eq(0), this.player = $("#j-player"), this.headerH = $("header").height() || $(".head").height();
            var e = this.body.width(), i = this.win.height(), t = d ? "btnDm_close" : "btnDm_open";
            if (l) {
                var a = '<div class="dm_box is_video" style="width:' + this.player.width() + "; height:" + this.player.height() + '"></div>';
                this.playerBox.after(a), this.body.append('<div class="btn_dm_box ani_opacity"><div class="dm_tip" style="display:none">' + info.langPack.danmu1 + '</div><a href="javascript:;" id="j-barrage-btn" class="' + t + ' icon_font icon_barrage"></a></div>')
            } else {
                var a = '<div class="dm_box no_video"></div>';
                this.body.append('<div class="btn_dm_box ani_opacity"><div class="dm_tip" style="display:none">' + info.langPack.danmu1 + '</div><a href="javascript:;" id="j-barrage-btn" class="' + t + ' icon_font icon_barrage"></a></div>' + a)
            }
            if (this.btnBox = $(".btn_dm_box"), this.btn = $("#j-barrage-btn"), this.container = $(".dm_box"), l)this.setBrgPosition(); else {
                var n = $("#j-toolbar")[0].offsetTop + $("#j-toolbar").height() + $("#j-daoliu").height() + 10, o = this.container.height();
                (250 > n || n + o > i) && (n = i - o - 20), this.container.css("top", n)
            }
            this.bodyWidth = e > i ? e : i
        },
        changeTop: function () {
            this.containerTop ? (this.container.css("top", 0), this.headerH = $("header").height() || $(".head").height()) : (this.container.css("top", this.headerH), this.containerTop = this.headerH)
        },
        setBrgPosition: function () {
            var e = this.player.height() - 30, i = e / 10;
            this.config.bottoms = [];
            for (var t = 0, a = parseInt(i / 3); a - 1 >= t; t++)this.config.bottoms.push(3 * t + 1);
            var n = this.config.bottoms.length;
            this.container.height(30 * n + 9)
        },
        controlShow: function () {
            this.headerH && this.btnBox.show(), this.container.show(), s.ios && (s.qq || s.uc) && this.btnBox.find(".dm_tip").show(), this.btnBox.addClass("ani_opacity")
        },
        controlHide: function () {
            this.btnBox.hide(), this.container.hide(), this.btnBox.removeClass("ani_opacity")
        },
        initEvent: function () {
            this.btn.on("click", _.bind(this.toggle, this))
        },
        getFirstBrg: function () {
            var e = this;
            if (this.isGetCount)return void this.renderFirst();
            var i = {vid: info.vid, pid: info.pid};
            $.ajax({
                url: this.config.countUrl + "&callback=?",
                dataType: "jsonp",
                timeout: 5e3,
                data: i,
                success: function (i) {
                    e.isGetCount = !0, e.brgCount = i.vdm_count, e.brgCount && e.renderFirst()
                },
                error: function () {
                }
            })
        },
        getList: function (e) {
            if (!this.locked) {
                this.locked = !0;
                var e = e || 0;
                this.curStart = e;
                var i = {vid: info.vid, start: e * this.config.start, amount: 500, from: 8};
                $.ajax({
                    url: this.config.listUrl + "&callback=?",
                    dataType: "jsonp",
                    timeout: 3e4,
                    data: i,
                    success: $.proxy(this.success, this),
                    error: $.proxy(this.error, this)
                })
            }
        },
        success: function (e) {
            200 == e.code && (this.isFirstAjax && (this.controlShow(), this.isFirstAjax = !1), e.data.list.length ? (this.startArr.push(this.curStart), this.formatData(e.data)) : this.isDataOk = !0), this.locked = !1
        },
        formatData: function (e) {
            var i = this, t = e.list, a = 0;
            t.length && (t.sort(function (e, i) {
                return e.start > i.start ? 1 : -1
            }), this.brgArr = t, this.canGetTime ? n(t, function (e, t) {
                var n = t.start;
                if (!(0 > n) && (a = parseInt(n), "txt" == t.type)) {
                    i.brgObj[a] || (i.brgObj[a] = []);
                    var o = i.brgObj[a].length;
                    n - a >= 0 && 1 > n - a && o < i.config.maxLen && (i.brgObj[a].push({
                        txt: t.txt,
                        color: t.color
                    }), i.brgObj[a] = r(i.brgObj[a], "txt"))
                }
            }) : this.time && this.startAutoRender(), this.isDataOk = !0)
        },
        renderBarrage: function (e) {
            var i = this;
            if (l || this.firstBrgOk) {
                var e = parseInt(e), t = this.brgObj[e];
                t && n(t, function (e, t) {
                    var a = i.setRow(), n = i.setFontColor(t.color), o = i.setSpeed(t.txt);
                    i.addEl({txt: t.txt.replace(/\r/g, ""), bottom: a, speed: o, color: n})
                })
            }
        },
        curRow: -1,
        setRow: function () {
            return this.curRow++, this.curRow >= this.config.bottoms.length && (this.curRow = 0), 10 * this.config.bottoms[this.curRow] + "px"
        },
        setFontColor: function (e) {
            if (-1 != e.indexOf("-") && (e = "ffffff"), e = e.toLowerCase(), l)return e;
            switch (e) {
                case"ef4444":
                    return "ed1c24";
                case"4686ff":
                    return "00a2e8";
                case"99d9ea":
                    return "73cbe1";
                case"ffd800":
                case"fff200":
                    return "f6be16";
                case"efe4b0":
                    return "b2a257";
                case"8ad127":
                    return "22b14c";
                case"ff8a00":
                    return "ff7f27";
                default:
                    return "666666"
            }
        },
        setSpeed: function (e) {
            var i = this.config, t = e.length >= i.threshold ? -1 : 1, a = i.speed - t * e.length * .15;
            return (a < i.minSpeed ? i.minSpeed : a) + "s"
        },
        renderFirst: function () {
            var e = this.brgCount >= this.config.count ? info.langPack.danmu2 : info.langPack.danmu3;
            this.addEl({isFirst: !0, txt: e, speed: "5s"}), this.isFirstRender = !1
        },
        addEl: function (e) {
            var i = this;
            this.renderBrgNum += 1, this.renderBrgNum % this.config.num == 1 && (this.innerWrapper = document.createElement("div"), this.container[0].appendChild(this.innerWrapper), this.renderBrgNum > 1 && setTimeout(function () {
                i.container[0].children[0] && i.container[0].removeChild(i.container[0].children[0])
            }, 2e3 * this.config.speed));
            var t = e.isFirst ? "div" : "span";
            this.bodyWidth = $("body").width();
            var a = document.createElement(t);
            a.className = e.isFirst ? "dm_Pilot_new" : "cmt_content", a.innerHTML = e.txt, e.isFirst || (a.style.top = e.bottom, a.style.color = "#" + e.color, l || (a.style.border = "1px solid #" + e.color), a.style.left = this.bodyWidth + "px", a.style.lineHeight = 10 * this.config.lineHeight + "px"), a.style.transitionDuration = e.speed, a.style.webkitTransitionDuration = e.speed, a.setAttribute("data-pos", this.renderBrgNum - 1), this.innerWrapper.appendChild(a);
            var n = a.offsetWidth, o = this.bodyWidth + n;
            a.style.webkitTransform = "translateX(-" + o + "px)", a.style.transform = "translateX(-" + o + "px)", e.isFirst && setTimeout(function () {
                i.firstBrgOk = !0
            }, 1500)
        },
        resetFun: function () {
            this.stopRender(), this.brgArr = [], this.brgObj = {}, this.curTime = 0, this.lastPlayTime = 0, this.renderBrgNum = 0, this.time = 0, this.startArr = [], this.isDataOk = !1, window.info.isDanmaku && this.getList()
        },
        stopRender: function () {
            if (this.inited) {
                var e = this;
                clearInterval(this.timer), this.timer = null, this.container.addClass("toopacity0"), setTimeout(function () {
                    e.container.children().remove(), e.renderBrgNum = 0
                }, 500)
            }
        },
        removeBrgs: function () {
            this.inited && (clearInterval(this.timer), this.timer = null, this.container.children().remove(), this.container.addClass("toopacity0"), this.renderBrgNum = 0)
        },
        startRender: function (e) {
            (l || this.inited && !this.cmtIsFocus) && this.isOpen && (this.container.removeClass("toopacity0"), this.isPlaying && this.getPlayerTime(e))
        },
        startAutoRender: function () {
            var e = this;
            clearInterval(this.timer), this.timer = null;
            var i = e.brgArr.shift(), t = e.setRow(), a = e.setFontColor(i.color), n = e.setSpeed(i.txt);
            return e.addEl({
                txt: i.txt,
                bottom: t,
                speed: n,
                color: a
            }), e.brgArr.length ? void(!this.timer && (this.timer = setInterval($.proxy(this.startAutoRender, this), 1e3))) : void this.getList(++e.time)
        },
        setBtnStatus: function (e) {
            e && !this.isOpen ? (this.isOpen = !0, this.btn.removeClass("btnDm_close").addClass("btnDm_open"), c.set("isdanmuclosed", 0), this.startRender()) : !e && this.isOpen && (this.isOpen = !1, this.btn.removeClass("btnDm_open").addClass("btnDm_close"), c.set("isdanmuclosed", 1), this.stopRender())
        },
        toggle: function (e) {
            e.preventDefault(), e.stopPropagation();
            this.isOpen ? (this.isOpen = !1, this.btn.removeClass("btnDm_open").addClass("btnDm_close"), this.setTips(info.langPack.danmu5), this.stopRender(), c.set("isdanmuclosed", 1)) : (this.isOpen = !0, this.btn.removeClass("btnDm_close").addClass("btnDm_open"), this.setTips(info.langPack.danmu4), this.startRender(), c.set("isdanmuclosed", 0)), LemSdk && LemSdk.danma && LemSdk.danma.setPlayerSwitch && LemSdk.danma.setPlayerSwitch(this.isOpen ? !0 : !1)
        },
        setTips: function (e) {
            o({
                html: '<div class="tipsBox">' + e + "</div>", autoClose: 1e3, hideFn: function () {
                    this.$box.hide()
                }
            })
        },
        error: function () {
            Stats.feStat({code: "danmu"}), this.locked = !1
        }
    };
    t.exports = p
},LTK["components/player/playerCovers"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("air/env/ua"), o = e("air/util/Url"), s = e("air/util/tpl"), r = e("components/util/utils");
    e("components/langPack/pub"), e("components/langPack/ms_play");
    var l = {
        init: function (e) {
            this.initDom(e), this.initEvent(), this.initCovers()
        }, initDom: function (e) {
            this.config = e, this.isLivePlayer = !1, e ? (this.$player = $("#beginingLivePlayer" + e.markId), this.isLivePlayer = !0) : this.$player = $("#j-player"), this.fifteenDaoliuStr = "", this.homeBanner = {}, window.__PromotionApp && __PromotionApp.commonBanner && (this.homeBanner = __PromotionApp.commonBanner), this.fromSports = !1, "sports" === o.getParam("from") && (this.fromSports = !0), this.isLeSport = !1
        }, initEvent: function () {
            a.on("appGuideEnd", $.proxy(this.showFifteenDaoliuTips, this)), a.on("playerDisplayTryLook", $.proxy(this.showLiveDaoliuTips, this)), a.on("playerInit", $.proxy(this.destroyTips, this)), a.on("drmCoverInit", $.proxy(this.showDrm, this)), a.on("playerInit", $.proxy(this.livePayTip, this)), $("body").on("click", ".j-vodFifteenDaoliu", $.proxy(this.doDuanliu, this)), a.on("vodPlayerTryLook", $.proxy(this.vodPlayerTryLook, this)), $("body").on("click", ".j-crm", $.proxy(this.dlApp, this)), a.on("showColseVipTip", $.proxy(this.showColseVipTip, this))
        }, destroyTips: function () {
            this.hideDaoliuTips()
        }, initCovers: function () {
        }, showFifteenDaoliuTips: function () {
            Stats.sendAction({
                acode: "41",
                ap: info.shareAgent ? "fl=di&dp=msite_player_weixin_forapp_exposure" : "fl=di&dp=msite_player_forapp_exposure"
            });
            var e = info.langPack.downapp, i = {
                id: "j-vodFifteenDaoliu",
                p2: "<p>" + info.langPack.pre_end + "</p>",
                p3: "<p>" + info.langPack.pre_time + '<a class="j-vodFifteenDaoliu" href="javascript:;">' + e + "</a>" + info.langPack.pre_full + "</p>"
            }, t = this.getContentTpl(i);
            this.hidePlayerAndShowTip(t)
        }, showLiveDaoliuTips: function (e) {
            var i = info.langPack.downapp;
            e && "sport" === e.type && (this.fromSports ? (this.sendAction({
                acode: "41",
                ap: "msite_live_lesdlplay_exposure"
            }), i = info.langPack.downapp_ty) : this.sendAction({
                acode: "41",
                ap: "msite_live_ledlplay_exposure"
            }), this.isLeSport = !0);
            var t = {
                id: "j-vodFifteenDaoliu",
                p2: "<p>" + info.langPack.pre_end + "</p>",
                p3: "<p>" + info.langPack.pre_time + '<a class="j-vodFifteenDaoliu" href="javascript:;">' + i + "</a>" + info.langPack.pre_full + "</p>"
            }, a = this.getContentTpl(t);
            this.hidePlayerAndShowTip(a)
        }, hidePlayerAndShowTip: function (e, i) {
            return this.hidePlayer(i), $("#j-vodFifteenDaoliu").length > 0 ? void $("#j-vodFifteenDaoliu").show() : $("#j-vipLook").length > 0 ? void $("#j-vipLook").show() : $("#j-crm").length > 0 ? void $("#j-crm").show() : $("#j-usaLive").length > 0 ? void $("#j-usaLive").show() : $("#j-closeVip").length > 0 ? void $("#j-closeVip").show() : void this.$player.after(e)
        }, hidePlayer: function (e) {
            var i = Number(e) || 0, t = this.$player.find("video");
            this.isLivePlayer ? setTimeout(function () {
                t.attr("src", "")
            }, i) : setTimeout(function () {
                t.attr("src", "javascript:;")
            }, i), this.$player.css({display: "none"})
        }, doDuanliu: function () {
            this.config ? this.doLiveDaoliu() : this.doFifteenDaoliu()
        }, doFifteenDaoliu: function () {
            var e = "appTryLook";
            Stats.sendAction({ap: window.info.shareAgent ? "fl=di&dp=msite_player_weixin_appguide_2" : "fl=di&dp=msite_player_appguide_2"});
            var i = n.letvMobile ? "lingxian" : n.android ? "android" : "ios", t = Stats && Stats.BR ? Stats.BR : "letv", a = "break", o = window.__playerOpenApp || {};
            o[e] = o[e] || {};
            var s = info.appGuideUniversalLink || o[e].url || "", r = info.appGuideApplicationLink || o[e].wxUrl || "";
            this.doDaoliu({
                app: "letv",
                pid: window.info.pid,
                vid: window.info.vid,
                type: "play",
                isTryLook: !0,
                from: "m_" + i + "_" + t + "_" + a,
                url: s,
                wxUrl: r,
                thirdApp: o[e].thirdApp || {}
            })
        }, doLiveDaoliu: function () {
            var e = this.homeBanner, i = n.letvMobile ? "lingxian" : n.android ? "android" : "ios", t = Stats && Stats.BR ? Stats.BR : "letv", a = "ledlplay";
            this.isLeSport && this.fromSports ? (this.sendAction({
                acode: "0",
                ap: "msite_live_lesdlplay_click"
            }), this.doDaoliu({
                app: "lesport",
                wxUrl: e.wxUrl || "http://a.app.qq.com/o/simple.jsp?pkgname=com.lesports.glivesports",
                iosUrl: e.iosUrl || "https://itunes.apple.com/cn/app/le-shi-ti-yu/id983202217?mt=8",
                androidUrl: e.androidUrl || "http://g3.letv.cn/191/35/49/cloud-web/0/lc07_20160304/1486662836/lesport_v2.0.0_lesport.apk?b=1234&np=1",
                iosShortUrl: e.iosShortUrl || "",
                from: "m_" + i + "_" + t + "_" + a,
                androidShortUrl: e.androidShortUrl || ""
            })) : (this.sendAction({
                acode: "0",
                ap: "msite_live_ledlplay_click"
            }), this.doDaoliu({
                url: le.api_host.app_m + "/download_general.php?ref=010110396",
                wxUrl: "http://a.app.qq.com/o/simple.jsp?pkgname=com.letv.android.client&ckey=CK1332444334242",
                app: "letv",
                from: "m_" + i + "_" + t + "_" + a,
                type: "live",
                streamid: info.liveId
            }))
        }, doDaoliu: function (e) {
            __openApp._bindDefaultAppEvent(e)
        }, hideDaoliuTips: function () {
            this.$player.css("display", ""), $("#j-vodFifteenDaoliu").hide(), $("#j-vipLook").hide(), $("#j-crm").hide(), $("#j-closeVip").hide();
            var e = this.$player.width(), i = this.$player.height();
            a.emit("setPlayerSize", e, i)
        }, sendAction: function (e) {
            Stats.sendAction({acode: e.acode || "0", ap: e.ap}, function () {
                e.redirectUrl && (window.location.href = e.redirectUrl)
            })
        }, getContentTpl: function (e) {
            var i = {p1: '<p><img src="http://i1.letvimg.com/lc03_img/201512/28/17/18/duanliu.png"></p>'}, t = $.extend(i, e), a = '<div id="{id}" class="app-tips"><img src="http://i3.letvimg.com/lc03_img/201512/28/17/36/duanliu_bg2.jpg"><div class="tips_cnt {cntClass}">{p1}{p2}{p3}</div></div>', n = new s(a);
            return n.render(t)
        }, vodPlayerTryLook: function (e) {
            if ("openGlobalMember" === e || "loginMember" === e || "payLoginMember" === e || "paynotLoginMember" === e) {
                $("body").on("click", ".j-tovip", $.proxy(this.toVip, this)), $("body").on("click", ".j-tolog", $.proxy(this.toLog, this));
                var i = "", t = "";
                le.m.isLogin() || (i = '<a class="j-tolog btn_login" href="javascript:;">' + info.langPack.pcover4 + "</a>", Stats.sendAction({
                    acode: "41",
                    ap: "msite_player_login_exposure"
                })), t = "openGlobalMember" === e || "loginMember" === e ? info.langPack.pcover2 : info.langPack.pcover1;
                var a = {
                    id: "j-vipLook",
                    cntClass: "tips_cnt1",
                    p2: "<p>" + t + "</p>",
                    p3: '<p><a class="j-tovip btn_openvip" href="javascript:;">' + info.langPack.pcover3 + "</a>" + i + "</p>"
                }, n = this.getContentTpl(a);
                this.hidePlayerAndShowTip(n), Stats.sendAction({acode: "41", ap: "msite_player_forvip_exposure"})
            }
        }, showColseVipTip: function () {
            var e = {
                id: "j-closeVip",
                cntClass: "tips_cnt1",
                p1: "",
                p2: '<p class="tip1">检测到您的账号有异常，会员服务已冻结</p>',
                p3: '<p class="tip2">如有问题联系客服：400-030-0104</p>'
            }, i = this.getContentTpl(e);
            this.hidePlayerAndShowTip(i)
        }, toVip: function (e) {
            Stats.sendAction({
                acode: "0",
                ap: "msite_player_forvip_click"
            }), location.href = le.api_host.zhifu + "/mz/tobuy/regular?fronturl=" + encodeURIComponent(location.href)
        }, toLog: function (e) {
            Stats.sendAction({
                acode: "0",
                ap: "msite_player_login_click"
            }), le.app.isApp() ? le.app.callLogin() : le.m.userCenter.openLoginPage({language: info.lang})
        }, showDrm: function () {
            var e = {
                id: "j-crm",
                cntClass: "tips-box",
                p1: "",
                p2: "<p>" + info.langPack.drm + "</p>",
                p3: '<a id="j-crm" class="j-crm" href="javascript:;">' + info.langPack.drm_dl + "</a>"
            }, i = this.getContentTpl(e);
            this.hidePlayerAndShowTip(i, 1e3)
        }, dlApp: function () {
            var e = "break";
            r.daoliuApp({position: e, daoliuConfig: {pid: window.info.pid, vid: window.info.vid, type: "play"}})
        }, livePayTip: function () {
            if (window.info.pay && "US" == window.info.region) {
                var e = {
                    id: "j-usaLive",
                    cntClass: "tips-box",
                    p2: "<p>" + info.langPack.copyright1 + "</p>",
                    p3: ""
                }, i = this.getContentTpl(e);
                this.hidePlayerAndShowTip(i)
            }
        }
    };
    t.exports = l
},LTK["projects/vodPlay/drmCover"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = {
        init: function () {
            this.initDom(), this.initEvent(), this.initPage()
        }, initDom: function () {
        }, initEvent: function () {
            a.on("playerInit", $.proxy(this.showDrmCover, this)), a.on("playerPlayError", $.proxy(this.showDrmCover, this))
        }, initPage: function () {
        }, showDrmCover: function () {
            !info.drmFlag || "play" !== info.pageid && "share/play" !== info.pageid || a.emit("drmCoverInit")
        }
    };
    t.exports = n
},LTK["components/boss/validate"] = function (e, i, t) {
    "use strict";
    var a = e("components/util/events"), n = e("components/sendStat/error_report"), o = {
        init: function () {
            this.initDom(), this.initEvent(), this.initPage()
        }, initDom: function () {
            this.url = le.api_host.d_api + "/api/authenticateService", this.key = "v4a34778038s90047a5dgu808i2851", this.userId = Cookie.get("ssouid")
        }, initEvent: function () {
        }, initPage: function () {
            var e = window.info.pid ? window.info.pid : window.info.vid, i = window.info.pid ? 1 : 3, t = {
                US: 1,
                CN: 86,
                HK: 852,
                IN: 91
            }, o = t[info.region];
            $.ajax({
                url: this.url,
                dataType: "jsonp",
                data: {
                    type: "validate",
                    ctype: i,
                    cid: e,
                    terminal: 141006,
                    storepath: "afdfajdfad",
                    userId: this.userId,
                    country: o,
                    deviceId: Stats.getLC(),
                    businessId: "10003"
                },
                success: function (e) {
                    e && e.data && a.emit("validateResult", e.data)
                },
                error: function () {
                    n.send({bline: "authenticateService"})
                }
            })
        }
    };
    t.exports = o
},LTK["projects/vodPlay/vipStatus"] = function (e, i, t) {
    var a = e("components/util/events"), n = e("components/boss/validate"), o = {
        init: function () {
            this.initDom(), this.initEvent(), this.initPage()
        }, initDom: function () {
        }, initEvent: function () {
            a.on("playerInit", $.proxy(this.getVipStatus, this)), a.on("validateResult", $.proxy(this.validateResult, this))
        }, initPage: function () {
        }, validateResult: function (e) {
            e.code && "9999" == e.code && this.isCloseVip()
        }, isCloseVip: function () {
            ("play" === info.pageid || "share/play" === info.pageid) && (this.vipCode = "9999", a.emit("showColseVipTip"))
        }, getVipStatus: function () {
            return info.is_pay && Cookie.get("ssouid") ? this.vipCode && "9999" == this.vipCode ? void this.isCloseVip() : void n.init() : void 0
        }
    };
    t.exports = o
},LTK["main/play/ms_play_v2"] = function () {
    "use strict";
    require("components/com_base/global"), require("components/langPack/ms_play"), require("projects/vodPlay/auto_openapp");
    var e = require("components/util/events"), i = require("components/player/ort_player"), t = require("projects/vodPlay/vodPlayer"), a = require("projects/vodPlay/cardLoadStrategy"), n = (require("air/env/ua"), require("air/util/Url")), o = require("components/util/mUa");
    require("projects/vodPlay/playAjax"), require("projects/vodPlay/autoplay"), info.lejianVideoType || require("projects/vodPlay/danmu");
    var s = require("components/player/playerCovers"), r = require("projects/vodPlay/drmCover"), l = require("projects/vodPlay/vipStatus"), c = {
        init: function () {
            this.initDom(), this.initEvent(), this.initPage()
        }, initDom: function () {
            this.isFullScreen = !1
        }, initEvent: function () {
            e.on("playerChangeFullscreen", $.proxy(this.onPlayerChangeFullscreen, this)), e.on("ortResize", $.proxy(this.onOrtChange, this))
        }, onPlayerChangeFullscreen: function (i) {
            this.isFullScreen = !!i.flag, !i.flag && i.isActiveBehavior && setTimeout(function () {
                e.emit("playerTriggerNeedReSize")
            }, 500), this.isFullScreen ? $(".arkBox").hide() : $(".arkBox").show()
        }, onOrtChange: function (i) {
            i.isFullscreen || setTimeout(function () {
                e.emit("playerTriggerNeedReSize")
            }, 500)
        }, initPage: function () {
            var e = new i;
            e.init({videoWrapperId: "j-player"}), this.initPlayer(), window.info && (info.feStatData = [{code: "vplay"}]), setTimeout(function () {
                le.m.commonBanner.init()
            }, 0), s.init(), o.isApp() && $(".userBox .icon_seach").remove(), r.init(), l.init()
        }, initPlayer: function () {
            if (!info.lejianVideoType || 1 == info.lejianVideoType) {
                var e = {
                    vid: info.vid,
                    pid: info.pid,
                    ark: __ADINFO__.arkId || "100",
                    appGuideTime: info.appGuideTime
                }, i = n.getParam("htime");
                i && (e.htime = i), t.init(e)
            }
            a.init()
        }
    };
    c.init()
},require("main/play/ms_play_v2");